[myhdl-list] MEP-107: Conversion of Attribute Signal Containers
Brought to you by:
jandecaluwe
From: Guy E. <gu...@no...> - 2014-01-14 20:00:55
|
Hello, I'm not sure whether this has been discussed before, but instead of using underscores to create the port names (MyObj_*): entity ex1 is port ( clk: in std_logic; MyObj_x: in unsigned(7 downto 0); MyObj_y: in unsigned(3 downto 0); MyObj_z: out unsigned(8 downto 0) ); end entity ex1; names could also be mangled by putting them between backslashes, e.g.: entity ex1 is port ( clk: in std_logic; \MyObj#x\: in unsigned(7 downto 0); \MyObj#y\: in unsigned(3 downto 0); \MyObj#z\: out unsigned(8 downto 0) ); end entity ex1; Not sure whether this would be desirable, though. Cheers, Guy. |