Browse Source

Added bus_if and fsm to top level design

top_level_design
sessleral71711 2 years ago
parent
commit
b30efd039d
1 changed files with 17 additions and 3 deletions
  1. 17
    3
      Top/Top.sv

+ 17
- 3
Top/Top.sv View File

`include "../spi_interface.v" `include "../spi_interface.v"
`include "../fsm/Fsm.sv" `include "../fsm/Fsm.sv"
<<<<<<< HEAD <<<<<<< HEAD
<<<<<<< HEAD
======= =======
>>>>>>> b8d8341 (Initalized top level design) >>>>>>> b8d8341 (Initalized top level design)
=======
`include "../Bus_if/Bus_if.sv"
>>>>>>> c93bdaf (Added bus_if and fsm to top level design)


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
<<<<<<< HEAD
>>>>>>> b8d8341 (Initalized top level design) >>>>>>> b8d8341 (Initalized top level design)
=======
Fsm fsm(
.clk(clk),
.inAlarmAmpel(bus.AlarmAmpel),
.inDataValid(bus.DataValid),
.inTasteAktiv(bus.TasteAktiv),
.outAlarm_R(bus.Alarm_R),
.outSendData(bus.SendData),
.outTimerEN(bus.TimerEN)
);
>>>>>>> c93bdaf (Added bus_if and fsm to top level design)
// Parallelport // Parallelport
// FRAM-Controller // FRAM-Controller
// Timer // Timer

Loading…
Cancel
Save