Advertisement
Guest User

Untitled

a guest
May 5th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. module\top
  2. wire width 1 input 0 \s_target
  3. wire width 2 input 1 \s_state
  4. wire width 1 input 2 \a
  5. wire width 1 input 3 \b
  6. wire width 1 output 6 \s_err
  7. process $group_8
  8. assign \s_err 1'0
  9. switch \s_state
  10. case 2'0-
  11. case 2'10
  12. switch \s_target
  13. case 1'0
  14. switch { \a }
  15. case 1'1
  16. assign \s_err 1'1
  17. end
  18. case 1'-
  19. switch { \b }
  20. case 1'1
  21. assign \s_err 1'1
  22. end
  23. end
  24. case
  25. end
  26. sync init
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement