Added Bus_if and fsm to top level design
This commit is contained in:
parent
6ab278694e
commit
53868c67fd
11
Top/Top.sv
11
Top/Top.sv
@ -1,12 +1,23 @@
|
|||||||
`include "../spi_interface.v"
|
`include "../spi_interface.v"
|
||||||
`include "../fsm/Fsm.sv"
|
`include "../fsm/Fsm.sv"
|
||||||
|
`include "../Bus_if/Bus_if.sv"
|
||||||
|
|
||||||
module Top(
|
module Top(
|
||||||
input wire clk
|
input wire clk
|
||||||
);
|
);
|
||||||
// Bus (Interface)
|
// Bus (Interface)
|
||||||
|
Bus_if bus(.clk(clk));
|
||||||
// SPI Interface
|
// SPI Interface
|
||||||
// FSM
|
// 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
|
// Parallelport
|
||||||
// FRAM-Controller
|
// FRAM-Controller
|
||||||
// Timer
|
// Timer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user