|
|
|
|
|
|
|
|
`include "../spi_interface.v" |
|
|
`include "../spi_interface.v" |
|
|
`include "../fsm/Fsm.sv" |
|
|
`include "../fsm/Fsm.sv" |
|
|
<<<<<<< HEAD |
|
|
|
|
|
======= |
|
|
|
|
|
>>>>>>> b8d834144be80086a32a76f1769deccce6eaee15 |
|
|
|
|
|
|
|
|
`include "../Bus_if/Bus_if.sv" |
|
|
|
|
|
|
|
|
module Top( |
|
|
module Top( |
|
|
input wire clk |
|
|
input wire clk |
|
|
); |
|
|
); |
|
|
// Bus (Interface) |
|
|
// Bus (Interface) |
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
|
|
|
|
======= |
|
|
|
|
|
|
|
|
Bus_if bus(.clk(clk)); |
|
|
// SPI Interface |
|
|
// SPI Interface |
|
|
// FSM |
|
|
// FSM |
|
|
>>>>>>> b8d834144be80086a32a76f1769deccce6eaee15 |
|
|
|
|
|
|
|
|
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 |
|
|
// Parallelport |
|
|
// FRAM-Controller |
|
|
// FRAM-Controller |
|
|
// Timer |
|
|
// Timer |