alliance-support '02
Pattern Problem


GIIE (giie77@yahoo.com)
Mon, 28 Jan 2002 10:09:34 -0800 (PST)

Hello sirs, Pls I have a problem and I need your help. I'm designing a logical shifter - as part of a datapath design. It would be able to shift a maximum of 7-bits data to the left etc. What I did was design 1bit, 2bit and 4bit logical shifters, then cascade them (since I'll be able to select how many bits I want to shift). I wrote and compiled the structural desctiption - using the three components and there were no errors. It compiled correctly Upon applyign my pattern file, I keep on getting errors like this: bash-2.04$ asimut -zd Lshift Lshift r7 @ @@@@ @ @ @@@@@@@@@@ @ @ @@ @@@ @ @@ @ @@@ @@ @ @ @ @@ @ @@@ @@@ @@@ @@ @@@ @@@ @@@@ @@ @ @@ @@@@ @@@@ @@@ @@ @@ @@ @@ @@ @ @@ @@@@ @@ @@ @@ @@ @@ @@ @@ @ @@ @@@ @@ @@ @@ @@ @@ @@ @@ @@@@@@@ @ @@ @@ @@ @@ @@ @@ @@ @@ @ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @ @@ @@@ @ @@ @@ @@ @@ @@ @@@ @@ @@@@ @@@@ @ @@@@ @@@@@@ @@@@ @@@ @@@ @@@@ @@ @@@@@@ A SIMUlation Tool Alliance CAD System 4.5.0, asimut v3.02 Copyright (c) 1991...1999-2002, ASIM/LIP6/UPMC E-mail support: alliance-support@asim.lip6.fr Paris, France, Europe, Earth, Solar system, Milky Way, ... initializing ... searching `Lshift` ... compiling `Lshift` (Structural) ... flattening the root figure ... searching `inv_x2` ... BEH : Compiling `inv_x2.vbe` (Behaviour) ... making GEX ... searching `oa2a22_x2` ... BEH : Compiling `oa2a22_x2.vbe` (Behaviour) ... making GEX ... searching `zero_x0` ... BEH : Compiling `zero_x0.vbe` (Behaviour) ... making GEX ... searching pattern file : `Lshift` ... PAT : Error 4 line 21 : cannot force the value of output `sleft 31` PAT : Error 4 line 21 : cannot force the value of output `sleft 27` PAT : Error 2 line 21 : illegal input-output value `?` PAT : Error 15 line 21 : no enough input-output values cannot continue further more. have a nice day... Pls, what kind of error is this and how do I correct it? I suppose that the error is in my pattern file (since the structural desctiption gave no errors): Here is a sample of my pattern file: -- input / output list : in vdd B;;;; in vss B;;;;; in OpCode (2 downto 0) X;;;;; in xleft (31 downto 0) X;;;; out sleft (31 downto 0) X;;;; begin -- Pattern description : -- vv O X S -- ds P l l -- ds C e e -- f f -- t t -- -- Beware : unprocessed patterns < 0 ps> pat_0 : 10 000 12345678 ?********; < 1 ps> pat_1 : 10 000 12345678 ?********; < 2 ps> pat_2 : 10 001 12345678 ?********; < 3 ps> pat_3 : 10 010 12345678 ?********; I use '12345678" so that I could easily see whether the results would be correct or not. For example, with OPC at 000, there'll be no shift. When OPC = 001, it shifts the data 1-bit to the left etc. I used this same test patterns for the individual (1bit, 2bit and 4bit - each having an enable pin) logical shifters and there were no errors whatsoever. Is the format (?********) correct for 32bit data? - the expected results are not supplied I'll appreciate help Thanks GIIE --------------------------------- Do You Yahoo!? Yahoo! Auctions Great stuff seeking new owners! Bid now!

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 29 January 2002.