Bit confused by Quartus

Joined
Dec 6, 2010
Messages
3
Reaction score
0
Hello All:ciao:

I'm trying to develop sorting network for FPGA using Quartus(it's small university project)

So I defined entity comparator using it I've created Network4 and Network8 entities that sort 4 and 8 numbers.

So far so good. In main project file I have array of 8bit logic vectors from where I'd take data to my networks. (My tutor says it's ok for now to save the data in memory so I could concentrate on presenting the results)

When I compile my project Quartus says that it uses 0 logic cells:shock: and when I run the simulation it instantly gives correct answers. While the RTL viewer is showing correct layout and connections for my networks.

So my answer is would this be working on real Altera chip?

My code looks like that:
begin
data(0) <= "00110111";
...

n1: entity work.network4 port map (data(0), data(1), data(2), data(3), s1, s2, s3, s4);--first four are the inputs, then 4 outputs
Thanks for the help
 
Joined
Jan 29, 2009
Messages
152
Reaction score
0
Uhm could it be that you are synthesizing the testbench instead of the network4/network8 -- if synthesizing the testbench, it could conclude there is only "dead code" in it (having no inputs/outputs)
 
Joined
Dec 6, 2010
Messages
3
Reaction score
0
joris said:
Uhm could it be that you are synthesizing the testbench instead of the network4/network8 -- if synthesizing the testbench, it could conclude there is only "dead code" in it (having no inputs/outputs)
I got it thanks. That was dead code. Now I need to test it on real hardware:D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top