Subject: open and constant signal in port
From: Tuukka Toivonen (tuukkat@ees2.oulu.fi)
Date: Fri Oct 19 2001 - 08:47:30 MDT
I found some statements that make big trouble with Savant 1.02.
With the first line, p1, it works just fine but with p2 or p3
there are troubles. I haven't tested it with savant-prerelease
(and I guess I have to before submitting a bug report...)
entity test0 is
port(input: in bit; output: out bit);
end;
architecture ar of test0 is
begin
output <= input;
end;
entity testme is
--empty
end;
architecture test of testme is
component test0 is
port(input: in bit; output: out bit);
end component;
for all: test0 use entity WORK.test0(ar);
signal tmpin, tmpout : bit;
begin
tmpin <= '1';
p1: test0 port map(tmpin, tmpout);
-- p2: test0 port map('1', tmpout);
-- p3: test0 port map(tmpin, open);
end;
-------------------------------
* With p3:
Processing file test5.vhdl
Parse complete - no errors.
Starting C++ code generation...
Publishing design unit: work_Dtest0(work_Dtest0_Dar)
Publishing design unit: work_Dtestme(work_Dtestme_Dtest)
scram: aire/iir/IIRScram/IIRScram_AssociationList.cc:503: void
IIRScram_AssociationList::_set_passed_through_out_port(IIR_Boolean):
Assertion `tempAssociation->get_kind() ==
IIR_ASSOCIATION_ELEMENT_BY_EXPRESSION || parse_error == true' failed.
-------------------
* With p2:
Processing file test5.vhdl
Parse complete - no errors.
Starting C++ code generation...
Publishing design unit: work_Dtest0(work_Dtest0_Dar)
Publishing design unit: work_Dtestme(work_Dtestme_Dtest)
scram built-in standard library:0: _publish_cc_elaborate() not defined for
IIR node: IIR_EnumerationLiteral
scram built-in standard library:0: _publish_cc_elaborate() not defined for
IIR node: IIR_EnumerationLiteral
Code generation finished successfully.
.... and the compiling...
SEAwork_Dtestme_work_Dtestme_Dtest_elab.cc: In method `void
SEAwork_Dtestme_work_Dtestme_Dtest_elab::createNetInfo()':
SEAwork_Dtestme_work_Dtestme_Dtest_elab.cc:43: parse error before `,'
SEAwork_Dtestme_work_Dtestme_Dtest_elab.cc: In method `void
SEAwork_Dtestme_work_Dtestme_Dtest_elab::connect(int, int ...)':
SEAwork_Dtestme_work_Dtestme_Dtest_elab.cc:59: parse error before `,'
make: *** [SEAwork_Dtestme_work_Dtestme_Dtest_elab.o] Error 1
-- | Tuukka Toivonen <tuukkat@ee.oulu.fi> [PGP public key | Homepage: http://www.ee.oulu.fi/~tuukkat/ available] | Try also finger -l tuukkat@ee.oulu.fi | Studying information engineering at the University of Oulu +-----------------------------------------------------------
This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:02 MST