VHDL Error in 8.02
Tim Downey <[email protected]> Sun, 03 Jul 2005 19:56:38 -0400
| Newsgroups | gmane.comp.cad.electric.general |
|---|---|
| Message-ID | <[email protected]> |
I have created a schematic that has a 2-bit bus for input and two
single wires for output. The bus is ripped and the lines are sent
through two buffers to the output wires. The VHDL is correct and
this circuit will run through the ALS simulator in Electric 8.02.
I then created an IC for this circuit and placed it in another schematic.
The new schematic has a 2-bit bus input export and two wire output
exports. These exports are mapped to the input and output ports of
the IC.
The call to the IC in the VHDL is incorrect. The network name is incorrect.
It reads A_1_0 twice instead of A_1_ and A_0_. The port is not recognized
as it should, it is labeled as 'open'.
There is no network named A_1_0_ in the cells.
This seems to be a problem with the VHDL generator.
I have attached the jelib that has this example in it.
Here is the VHDL that is generated:
-- VHDL automatically generated from cell 'call_split{sch}'
entity call_split is port(A_1_, A_0_: in BIT; D0, D1: out BIT);
end call_split;
architecture call_split_BODY of call_split is
component split port(A_1_0_, A_1_0_: in BIT; D0, D1: out BIT);
end component;
begin
split_0: split port map(open, D0, D1);
end call_split_BODY;
-- VHDL automatically generated from cell 'split{sch}'
entity split is port(A_1_, A_0_: in BIT; D0, D1: out BIT);
end split;
architecture split_BODY of split is
component buffer port(a: in BIT; y: out BIT);
end component;
begin
buf_0: buffer port map(A_1_, D0);
buf_1: buffer port map(A_0_, D1);
end split_BODY;
_______________________________________________
Discuss-gnu-electric mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnu-electric
als_error.jelib
(text/plain, 3.1 KB)
# header information:
Hals_error|8.02
# Views:
Vicon|ic
Vschematic|sch
VVHDL|vhdl
# Technologies:
Tartwork
Tfpga|ScaleFORfpga()D1000.0
Tgeneric
Trcmos|ScaleFORrcmos()D1000.0
Tschematic
# Cell call_split{sch}
Ccall_split;1{sch}|schematic|1120433650265|1120434218046|
Ngeneric:Facet-Center|art@0||0|0|0|0||AV
NWire_Pin|pin@2||10|1|0.5|0.5||
NWire_Pin|pin@3||10|-1|0.5|0.5||
NBus_Pin|pin@4||-27|0|2|2||
Isplit;2{ic}|split@0||0|0||E|D5G4;
Abus|"A[1:0]"2|D5G1;|1|IJ0|split@0|A[1:0]|-5|0|pin@4||-27|0
Awire|net@2||0|1800|split@0|D0|5|1|pin@2||10|1
Awire|net@3||0|1800|split@0|D1|5|-1|pin@3||10|-1
EA[1:0]|D5G2;|pin@4||I
ED0|D5G2;|pin@2||O
ED1|D5G2;|pin@3||O
X
# Cell call_split{vhdl}
Ccall_split;1{vhdl}|artwork|1120433738453|1120433738453||FACET_message()S[-- VHDL automatically generated from cell 'call_split{sch}',"entity call_split is port(A_1_, A_0_: in BIT; D0, D1: out BIT);", end call_split;,"",architecture call_split_BODY of call_split is," component split port(A_1_0_, A_1_0_: in BIT; D0, D1: out BIT);", end component;,"","",begin," split_0: split port map(open, D0, D1);",end call_split_BODY;,"","",-- VHDL automatically generated from cell 'split{sch}',"entity split is port(A_1_, A_0_: in BIT; D0, D1: out BIT);", end split;,"",architecture split_BODY of split is, component buffer port(a: in BIT; y: out BIT);, end component;,"","",begin," buf_0: buffer port map(A_1_, D0);"," buf_1: buffer port map(A_0_, D1);",end split_BODY;]
Ngeneric:Facet-Center|art@0||0|0|0|0||AV
X
# Cell split{ic}
Csplit;2{ic}|artwork|1120433834359|1120433834390|E
Ngeneric:Facet-Center|art@0||0|0|0|0||AV
NOpened-Thicker-Polygon|art@1||0|0|6|10|||SCHEM_function(D5G1;)Ssplit|trace()V[-3/-5,-3/5,3/5,3/-5,-3/-5]
Nschematic:Bus_Pin|pin@0||-5|0|2|2||
Ngeneric:Invisible-Pin|pin@1||-3|0|1|1||
Ngeneric:Universal-Pin|pin@2||5|1|0|0||
Nschematic:Wire_Pin|pin@3||3|1|0.5|0.5||
Ngeneric:Universal-Pin|pin@4||5|-1|0|0||
Nschematic:Wire_Pin|pin@5||3|-1|0.5|0.5||
Aschematic:bus|net@0||1|IJ0|pin@1||-3|0|pin@0||-5|0
Aschematic:wire|net@1||0|1800|pin@3||3|1|pin@2||5|1
Aschematic:wire|net@2||0|1800|pin@5||3|-1|pin@4||5|-1
EA[1:0]|D5G2;|pin@0||I
ED0|D5G2;|pin@2||O
ED1|D5G2;|pin@4||O
X
# Cell split{sch}
Csplit;1{sch}|schematic|1120433524015|1120433836390|
Ngeneric:Facet-Center|art@0||0|0|0|0||AV
NBuffer|buf@0||-41|-1|6|6||
NBuffer|buf@1||-16|-1|6|6||
NBus_Pin|pin@0||-46|7|2|2||
NBus_Pin|pin@2||-23|7|2|2||
NWire_Pin|pin@3||-46|-1|0.5|0.5||
NBus_Pin|pin@4||-46|7|2|2||
NWire_Pin|pin@5||-23|-1|0.5|0.5||
NBus_Pin|pin@6||-23|7|2|2||
NWire_Pin|pin@8||-36|-1|0.5|0.5||
NWire_Pin|pin@9||-10|-1|0.5|0.5||
Isplit;2{ic}|split@1||-15|15||E|D5G4;
Awire|A[0]|D5G1;|0|2700|pin@5||-23|-1|pin@6||-23|7
Abus|A[1:0]|D5G1;|1|IJ0|pin@6||-23|7|pin@2||-23|7
Awire|A[1]|D5G1;|0|2700|pin@3||-46|-1|pin@4||-46|7
Abus|net@3||1|IJ0|pin@0||-46|7|pin@4||-46|7
Abus|net@5||1|IJ1800|pin@4||-46|7|pin@6||-23|7
Awire|net@7||0|1800|pin@3||-46|-1|buf@0|a|-44|-1
Awire|net@8||0|1800|pin@5||-23|-1|buf@1|a|-19|-1
Awire|net@10||0|1800|buf@0|y|-39|-1|pin@8||-36|-1
Awire|net@11||0|1800|buf@1|y|-14|-1|pin@9||-10|-1
EA[1:0]|D5G2;|pin@0||I
ED0|D5G2;|pin@8||O
ED1|D5G2;|pin@9||O
X
# Groups:
Gcall_split;1{sch}|call_split;1{vhdl}
Gsplit;1{sch}|split;2{ic}