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

logic[9:0] Data; logic[9:0] Data;
logic SendData; logic SendData;
logic TimerMeas; logic TimerMeas;
logic Clk;
logic DataValid; logic DataValid;
logic AlarmAmpel; logic AlarmAmpel;
logic TasteAktiv; logic TasteAktiv;
output SendData, output SendData,
output TimerEN 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 endinterface //Bus

Loading…
Cancel
Save