8B10B Encoder /Decoder Walkthrough
Table 2–1. Generated Files Note (1) (Part 2 of 2)
Filename (2)
Description
A Verilog HDL module with the top-level demo testbench for the
core.
<variation name>_tb.v
Notes to Table 2–1:
(1) These files are variation dependent, some may be absent or their names may change.
(2) <variation name> is a prefix variation name supplied automatically by the MegaWizard interface.
(3) If you choose the decoder mode, the file name is <variation name>_dec8b10b.
Set Constraints
The 8B10B Encoder/Decoder MegaCore function variations include a
tool command language (Tcl) script. Use this Tcl script to constrain your
design.
To run the Tcl script in the Quartus II software, in a Win32 operating
system, follow either of these sets of steps:
1. Select TCL Scripts (Tools menu)
2. Select the applicable Tcl file for your variation:
<variation name>_constraints. tcl
3. Click Run.
or
1. Click on Tcl Console under Utility_Windows (View menu)
2. In the Tcl console window, type:
source <variation name>_constraints.tcl
To run the Tcl script in a UNIX or Linux operating system terminal, type:
cd..<project_directory>
quartus_sh -t <variation name>_constraints.tcl
2–10
MegaCore Version 7.2
Altera Corporation
October 2007
8B10B Encoder/Decoder MegaCore Function User Guide