ASIC/FPGA Design and Verification Out Source Services
This document
presents a script, that generates a specman portmap from a VHDL file.
- I just needed today to create a port
map from a VHDL interface. Since there was many signals
involved, I needed a script.
- The script is invoked by: perl
/home/pini/bin/signal_map.pl i8051_all.vhd
- The result is :
clk: out simple_port of bit is instance;
keep bind(clk, external);
keep clk.hdl_path() == "clk";
xrm_wr: in simple_port of bit is instance;
keep bind(xrm_wr, external);
keep xrm_wr.hdl_path() == "xrm_wr";
- Note for a vector the script uses
uint with right number of bits.
- The script is located at: port map script.
Contact me now at: |