H
HARRIS VALERIE
Guest
Here's my issue:
This is the port definition in Verilog:
FSM2 F2(.CLock(fsm2clk),
.reset(fsm2rst),
.Control(ctrl),
.Y(Fsm2Out));
This is the port definition for VHDL:
entity FSM2 is
port (CLock, reset: in std_logic;
Control: in std_logic;
Y: out integer range 0 to 4 );
end FSM2;
When we run this, the model tech simulator says:
# ** Fatal: (vsim-3362) The type of VHDL port 'y' is invalid for
Verilog connection (4th connection).
# Time: 0 ns Iteration: 0 Instance: /top/FSM2 File: fsm2.vhd
Line: 7
# FATAL ERROR while loading design
# Error loading design
Error loading design
Does anybody know what's wrong with this?
What should I do to connect VHDL ports to Verilog?
Thanks
Valerie
This is the port definition in Verilog:
FSM2 F2(.CLock(fsm2clk),
.reset(fsm2rst),
.Control(ctrl),
.Y(Fsm2Out));
This is the port definition for VHDL:
entity FSM2 is
port (CLock, reset: in std_logic;
Control: in std_logic;
Y: out integer range 0 to 4 );
end FSM2;
When we run this, the model tech simulator says:
# ** Fatal: (vsim-3362) The type of VHDL port 'y' is invalid for
Verilog connection (4th connection).
# Time: 0 ns Iteration: 0 Instance: /top/FSM2 File: fsm2.vhd
Line: 7
# FATAL ERROR while loading design
# Error loading design
Error loading design
Does anybody know what's wrong with this?
What should I do to connect VHDL ports to Verilog?
Thanks
Valerie