QuickStart - rogerioag/gcg GitHub Wiki
make new PROJECT=entityName ARCH=ArchitectureType IN=port1,...,portN OUT=port1,...,portN
or
make new PROJECT=entityName ARCH=ArchitectureType IN="port1, ..., portN" OUT="port1, ..., portN"
Where:
- PROJECT: Entity Name that will designed.
- ARCH: Possible values {logical, structural, conditional}, using "structural" the components declaration will be made.
- IN: input ports.
- OUT: output ports.
Note: The variables that are passed to make or should be written without space (IN=port1,port2,portN) or with spaces and quotes (IN="port1, porta2, portaN"), because finding a space to make will understand that there ends the variable definition.
Use an editor of your choice to modify the files: src/entityName.vhd and testbench/entityName_tb.vhd
Replacing the <<type>>
tags with apropriate type (bit, std_logic and etc).
Create architecture commands in src/entityName.vhd and test cases in testbench/entityName_tb.vhd.
make compile TESTBENCH=entityName_tb
make run TESTBENCH=entityName_tb
make view TESTBENCH=entityName_tb
make all TESTBENCH=entityName_tb
make clean