Browse Source

Added Bus_if and fsm to top level design

top_level_design
sessleral71711 2 years ago
parent
commit
53868c67fd
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      Top/Top.sv

+ 11
- 0
Top/Top.sv View File

@@ -1,12 +1,23 @@
`include "../spi_interface.v"
`include "../fsm/Fsm.sv"
`include "../Bus_if/Bus_if.sv"

module Top(
input wire clk
);
// Bus (Interface)
Bus_if bus(.clk(clk));
// SPI Interface
// FSM
Fsm fsm(
.clk(clk),
.inAlarmAmpel(bus.AlarmAmpel),
.inDataValid(bus.DataValid),
.inTasteAktiv(bus.TasteAktiv),
.outAlarm_R(bus.Alarm_R),
.outSendData(bus.SendData),
.outTimerEN(bus.TimerEN)
);
// Parallelport
// FRAM-Controller
// Timer

Loading…
Cancel
Save