Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Modelsim and macro

Altera_Forum
Honored Contributor II
1,122 Views

Hello 

 

I'm getting some trouble in modelsim. I try to simulate my circuit and I've done a .do to simulate. This line is not working. 

 

force gf5 0 0, 0 3us, 1 3us, 1 3us, 1 3us, 0 3us 

 

run 15 us 

 

My wave form for GF5 is stuck at 0. 

 

In my VHDL file the line where GF5 is concerned are: 

 

gf5 : in std_logic; 

... 

logo_r <= not(gf5) and bf2; 

logo_g <= gf5; 

 

I really don't understand. When I manually force GF5 (right click in modelsim) it works.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
417 Views

Ok I've understood my mistake. 

 

force GF5 0 0, 0 3us, 1 3us, 1 3us, 1 3us, 0 3us 

 

I thought the number in bold was the duration. It is the moment when it switch. 

 

I let the post for those who made the same mistake (hope I'm not the only one :().
0 Kudos
Reply