- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm create a simple program that simply delays the clock in 10ns.
I used: ------------------------------------------------------------ LIBRARY ieee; USE ieee.std_logic_1164.all; USE ieee.std_logic_arith.all; USE ieee.std_logic_unsigned.ALL; ------------------------------------------------------------ ENTITY delay_clock IS PORT ( clk : IN BIT; clk_no_delay : OUT BIT; clk_delay : OUT BIT); END delay_clock; ------------------------------------------------------------ ARCHITECTURE test OF delay_clock IS BEGIN clk_no_delay <= clk; clk_delay <= clk after 10ns; --clk_delay <= '1'; END test; But, when I simulate this in Quartus, the delay isn't 10 ns, why ??? Thank you, ResterLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IIRC, the quartus simulator only does gate level simulations, not code level. Therefore the "after" keyword is thrown away during synthesis as it has no meaning in real hardware.
You will have to use modelsim to see this working.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page