diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-05 18:45:11 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-05 18:45:11 -0600 |
| commit | 638b75fb4c8fdc3c9d3a208f6bd9976841bc0928 (patch) | |
| tree | 3f26dad5958d6713d942b53b8c0bf62e003565a3 /rtl/if_common/if_shake.sv | |
| parent | 1ffcdb62cd7e95ccd3f971d0b5cb2e617e1481b2 (diff) | |
rtl/if_common: initial commit, moved out of gfx
Diffstat (limited to 'rtl/if_common/if_shake.sv')
| -rw-r--r-- | rtl/if_common/if_shake.sv | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/rtl/if_common/if_shake.sv b/rtl/if_common/if_shake.sv new file mode 100644 index 0000000..8ec5a73 --- /dev/null +++ b/rtl/if_common/if_shake.sv @@ -0,0 +1,24 @@ +interface if_shake; + + logic ready; + logic valid; + + modport tx + ( + input ready, + output valid + ); + + modport rx + ( + input valid, + output ready + ); + + modport peek + ( + input ready, + valid + ); + +endinterface |
