Commit 22a718f4 authored by Andrea Boccardi's avatar Andrea Boccardi

fixed the simulation afetr the changes needed for the ISE project

parent 23b1b4b5
`timescale 1ns/1ns
module si57x ( module si57x (
inout oe, inout oe,
inout sda, inout sda,
...@@ -5,4 +7,11 @@ module si57x ( ...@@ -5,4 +7,11 @@ module si57x (
inout clk_p, inout clk_p,
inout clk_n); inout clk_n);
reg Clk_s = 1'b0;
always #5 Clk_s = ~Clk_s;
assign clk_p = Clk_s;
assign clk_n = ~clk_p;
endmodule endmodule
...@@ -42,7 +42,7 @@ pullup i_Irq0(VmeIrq_b7[0]); ...@@ -42,7 +42,7 @@ pullup i_Irq0(VmeIrq_b7[0]);
// VME master // VME master
//#################################### //####################################
VmeMaster #(.g_VerboseAccesses(1'b0)) i_VmeMaster( VmeMaster #(.g_VerboseAccesses(1'b1)) i_VmeMaster(
.Trst_o(VmeTrst), .Trst_o(VmeTrst),
.Tck_o(VmeTck), .Tck_o(VmeTck),
.Tdo_i(VmeTdo), .Tdo_i(VmeTdo),
......
...@@ -8,7 +8,7 @@ os.system('clear') ...@@ -8,7 +8,7 @@ os.system('clear')
MyBoard = VFCInstance(4, 3, 4) MyBoard = VFCInstance(4, 3, 4)
#StartDumping() StartDumping()
WaitSimulation('1000') WaitSimulation('1000')
VmeReset() VmeReset()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment