electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Specman generate (for each in)


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Specman generate (for each in)
Author Message
loglong



Joined: 17 Jun 2008
Posts: 7


Post30 Oct 2009 2:37   

Specman generate (for each in)


Hi,

In e language, i want generate array_my in [0..0xf] but the item in array don't overlap, does the following rules meet my requirement? If not, how can I generate the non-overlap item in array?

array_my[4] : list of uint;
keep for each in sram_addr_offset {
it in [0..0xf];
};
Back to top
Google
AdSense
Google Adsense




Post30 Oct 2009 2:37   

Ads




Back to top
ljxpjpjljx



Joined: 05 May 2008
Posts: 533
Helped: 12
Location: Shang Hai


Post30 Oct 2009 5:03   

Re: Specman generate (for each in)


it can only gurantee each one is in the scope of 0-0xf
Back to top
loglong



Joined: 17 Jun 2008
Posts: 7


Post04 Nov 2009 5:43   

Re: Specman generate (for each in)


ljxpjpjljx wrote:
it can only gurantee each one is in the scope of 0-0xf


Maybe you misunderstand my requirement.

I want to generate in [0-0xf], but the item in array must unique.
for example:
there're 3 items in array_my[3] which in [0-0xf];
then I want 0,2,4 or any unique value, but can't be 0,2,2

how to constraint it?
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Specman generate (for each in)
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
link for learning specman ? (1)
For new testbench, VERA, Specman/E, or Systemverilog? (3)
Will Specman die for Vera as Borland die for Micro$oft? (11)
Do we need decoupling capacitors for each IC? (21)
Spectrum for each modulation type? (2)
In GSM , is Ki specific for each subscriber ? (4)
papers needed [+20 points for each] (2)
How much for each RTOS in commercial product? (5)
Estimating power consumed by a SRAM for each input vector. (1)
Technical term for the size of each hole in IDC connector (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS