DPGEN_NOR3(3)

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

πŸ’– DPGEN_NOR3 πŸ’– β€” the NOR3 Macro-Generator

okay so bestie, we're in the DPGEN_NOR3(3) page from the Alliance - genlib User's Manual, and it's literally about conjuring a NOR3 gate out of thin air. slay. let's get into it ✨


✨ NAME ✨

DPGEN_NOR3 β€” the NOR3 Macro-Generator πŸŽ€


🌸 SYNOPSIS 🌸

#include  <genlib.h>

void GENLIB_MACRO (DPGEN_NOR3, char *modelname, long flags, long N, long
drive);

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is it generates a N bits three inputs NOR with an output power of drive, and you get to name it modelname. main character generator energy fr fr πŸ‘‘

Valid drive are : 1 or 4. that's the whole list, don't get creative πŸ’…

🌈 TERMINAL NAMES 🌈

  1. i2 : input.
  2. i1 : input.
  3. i0 : input.
  4. nq : output.
  5. vdd : power.
  6. vss : ground.

⭐ BEHAVIOR ⭐

nq <= not(i0 or i1 or i2)

the way that's just a NOR doing NOR things 😌


πŸ’… EXAMPLE πŸ’…

GENLIB_MACRO(DPGEN_NOR3, "model_nor3_32"
                       , F_BEHAV|F_PLACE
                       , 32
                       , 1
                       );

GENLIB_LOINS( "model_nor3_32"
            , "instance1_nor3_32"
            , "i2[31:0]"
            , "i1[31:0]"
            , "i0[31:0]"
            , "nq[31:0]"
            , "vdd", "vss", NULL
            );
ngl this is the part where you copy it exactly. no cap. the flags, the numbers, the quotes β€” all of it stays 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole vibe check, bestie πŸ’– this page was brought to you by ASIM/LIP6, dated 30 July 2004, so it's vintage but it still ate 🌸✨ go forth and generate those NOR3s, periodt πŸŽ€