moonshine8995
Newbie level 6
i have verilog code for a multiplier and i want to generate it's vhdl net list with ISE.
but idont khow how.
i use
but it doesn't help.
if anyone has a document or can explain for me please do it step by step.
thank u so much.
but idont khow how.
i use
Code:
1
Follow these steps:
1. Generate an NGD file for the core as follows:
NOTE: File can be EDIF or NGC. i.e. corename.edn or corename.ngc.
ngdbuild -p <part_type> corename.ngc ---> Yields a file named "corename.ngd"
For example:
ngdbuild -p XC4VSX35ff668-10 bram2048x8.ngc ---> Yields a file named "bram2048x8.ngd"
(If you are using Xilinx Project Navigator, this is equivalent to running only the "translate" stage in the Process View, targeting an XC4VSX35ff668-10 part type.)
2. Generate a gate-level simulation netlist with NetGen as follows:
NOTE 1: You must generate the netlist in command line mode, and you MUST include the .ngd extension.
NOTE 2: If you are using an older version of the Xilinx software, you must use the commands listed below under Solution 2.
For example:
netgen -sim -ofmt verilog corename.ngd
netgen -sim -ofmt vhdl corename.ngd
3. If you are performing VHDL behavioral simulation and are substituting this new model for a CORE Generator module, you only need a component and instantiation block for both simulation and synthesis. The configuration snippet from the CORE Generator VHO file should be commented out. For example, for an 8-bit adder, the following block should be commented out:
-- synopsys translate_on
-- for all : myadder8 use entity XilinxCoreLib.C_ADDSUB_V1_0(behavioral)
-- generic map(
-- c_sinit_val => "0",
-- c_a_type => 0,
-- c_sync_enable => 0,
-- c_has_ainit => 0,
-- c_sync_priority => 1,
. . . (remaining generics omitted)
-- end for;
-- synopsys translate_on
4. If you are performing Verilog behavioral simulation and are substituting this new model for a CORE Generator module, you only need part of a module declaration and instantiation block for both simulation and synthesis. The library inclusion and part of the module declaration from the CORE Generator VEO file should be commented out. For example, for an add_sub core, the following block should be commented out:
// synopsys translate_off
`include "XilinxCoreLib/C_ADDSUB_V1_0.v"
// synopsys translate_on
// synopsys translate_off
C_ADDSUB_V1_0 #(
0,
"0000",
1,
16,
0,
0,
0,
1,
"0",
16,
1,
0,
.
.
.
1,
"0",
0,
1)
inst (
.A(A),
.B(B),
.C_IN(C_IN),
.Q(Q),
.CLK(CLK));
// synopsys translate_on
2
NOTE: If you are using an older version of the Xilinx software (less than 6.1i), you must use the following commands for Step 2.
2. Generate a gate-level simulation netlist with the appropriate translator (NGD2VHDL for a VHDL netlist, and NGD2VER for a Verilog netlist).
NOTE: You must generate the netlist in command line mode, and you MUST include the .ngd extension.
For example:
ngd2ver corename.ngd (Verilog)
ngd2vhdl corename.ngd (VHDL)
if anyone has a document or can explain for me please do it step by step.
thank u so much.