- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please help me about of warning messages after compiling in Max+Plus Advanced:
Warning: Output pins are stuck at VCC or GND Warning: Ignored unnecessary INPUT pin 'CLR' Warning: Ignored unnecessary INPUT pin 'a' Warning: Ignored unnecessary INPUT pin 'b' this is my design in vhdl: LIBRARY ieee; USE ieee.std_logic_1164.ALL; -------------------------------------- ENTITY mono IS PORT( CLR, A, B : IN BIT; Q, NQ : OUT BIT); END mono; -------------------------------------- ARCHITECTURE behavior OF mono IS SIGNAL L : BIT; BEGIN PROCESS(CLR,A,B,L) BEGIN IF (CLR ='0') THEN L <= '0'; ELSIF (A = '1' OR B = '0') THEN L <= '0'; ELSE --L <= '0','1' AFTER 252NS; END IF; Q <= L; NQ <= NOT L; END PROCESS; END behavior; ---- and nothing else, but I dont' know that is wrong! Thanks.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
L is set to '0' in all cases, thus all inputs are ignored. That's what the warning says.
The line --l <= '0','1' after 252ns;, that is disabled by a comment won't by synthesizable, the "AFTER" construct is only valid in simulation. You can't build a monoflop without a clock.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help. I'm creating a monostable in replace of 74123. But I have trouble in setting the duration of time of pulse in high. Which would be the instruction for this?
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