Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if clk'event and clk = '1' then
- -----------------------------
- if delay = 0 then
- countDelay <= 0;
- if SignA = '1' then
- delay <= 1;
- tempSignA <= NOT tempSignA;
- end if ;
- if SignB = '1' then
- delay <= 1;
- tempSignB <= NOT tempSignB;
- end if ;
- if Operator = '1' then
- delay <= 1;
- tempOperator <= NOT tempOperator;
- end if ;
- else
- countDelay <= countDelay + 1;
- if countDelay = 5000000 then
- delay <= 0;
- countDelay <= 0;
- end if ;
- end if ;
- end if ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement