INIT(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

✨ INIT(3) β€” GENPAT functions ✨

okay bestie, gather round πŸ’– this is INIT, one of the GENPAT functions β€” yes the whole GENPAT Package, we're doing a little family reunion up in here 🫢


🌸 ORIGIN 🌸

so like, where does this icon come from? this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France πŸ‡«πŸ‡·βœ¨ (yes that Paris, no cap)

if you need to slide into their inbox, now you know where πŸ’Œ


πŸŽ€ SYNOPSIS πŸŽ€

INIT("pattern_date","ident","value");

three little args, one big glow-up for your registers πŸ’…


πŸ¦‹ PARAMETERS πŸ¦‹

  • pattern_date β€” the pattern date, and it's giving options: it can be either an integer (that's an absolute date, very demure, very mindful) or + integer (a relative date β€” and the reference point is the date of the current pattern, like the one last modified using INIT or AFFECT). ⚠️ every single date is supposed to be expressed in the same time unit, and you can set that unit only once using SETTUNIT. one shot, bestie, so choose wisely 😭
  • ident β€” either the name of a bused register or a simple register. and the path-name? it must be specified with this exact syntax:
instance1.instance11.name
  • value β€” the value associated with the signal, and it may be either a based number (ex. 0B011 or 0H3F ✨) or a decimal. pick your fighter πŸ₯Š

πŸ’œ DESCRIPTION πŸ’œ

it initializes registers at the indicated values and sets the current pattern. that's it, that's the whole vibe. two jobs, both ate πŸ‘‘


⭐ EXAMPLE ⭐

SETTUNIT("ns");
INIT( "25","regt","0B1");
INIT("+50","y 3 downto 0","0xF");

result :
At simulation time 25 ns, the register named regt receive "1"
     regt <= B"1" ;
<   25 ns> : .............;

At simulation time +50 ns, (related to the date of the current pattern),
the vector y is affected with the value 15 in decimal or F in hexadecimal.
     regt <= X"F" ;
<   75 ns> : .............;

so let's break it down, bestie πŸ“

at simulation time 25 ns, the register named regt receives "1" β€” look at it, all tiny and iconic:

regt <= B"1" ;
<   25 ns> : .............;

then at simulation time +50 ns β€” and this is relative, related to the date of the current pattern, remember? β€” the vector y is affected with the value 15 in decimal or F in hexadecimal 🌈:

regt <= X"F" ;
<   75 ns> : .............;

25 + 50 = 75, the math is mathing fr fr πŸ’―


πŸ‘‘ SEE ALSO πŸ‘‘

genpat(1), pat(5), AFFECT(3)

go read those too, they're all part of the same friend group πŸ’–


😭 BUG REPORT 😭

this tool is under development at the ASIM department of the LIP6 laboratory. and like β€” they need your feedback to improve documentation and tools πŸ₯Ί so if something's off, tell them! you're the main character of this bug report, no cap.


that's a wrap, bestie πŸŽ€ this page came straight from ASIM/LIP6, dated October 1, 1997 β€” vintage, iconic, timeless. slay πŸ’…βœ¨