Browse Source

Added modport for timer

top_level_design
sessleral71711 2 years ago
parent
commit
200a989683
1 changed files with 14 additions and 1 deletions
  1. 14
    1
      Bus_if/Bus_if.sv

+ 14
- 1
Bus_if/Bus_if.sv View File

@@ -9,7 +9,6 @@ interface Bus_if (input clk);
logic[9:0] Data;
logic SendData;
logic TimerMeas;
logic Clk;
logic DataValid;
logic AlarmAmpel;
logic TasteAktiv;
@@ -29,4 +28,18 @@ interface Bus_if (input clk);
output SendData,
output TimerEN
);

modport timer (
input clk,
input Taste,
input TimerEN,
output ReadTemp,
output TasteAktiv
);

/*
module parallelport wird in top level design
ohne modport verbunden, da inEndOfConv nicht
Teil des Bus_if ist.
*/
endinterface //Bus

Loading…
Cancel
Save