diff --git a/alliance/src/genlib/doc/Makefile.am b/alliance/src/genlib/doc/Makefile.am index cad6e3f9..5260f1b9 100644 --- a/alliance/src/genlib/doc/Makefile.am +++ b/alliance/src/genlib/doc/Makefile.am @@ -12,6 +12,7 @@ EXTRA_DIST = $(pdf_DATA) \ ./man_dpgen_see_also.sgm \ ./man_dpgen_buff.sgm \ ./man_dpgen_nand2.sgm \ + ./man_dpgen_shift.sgm \ ./man_dpgen_nand4.sgm \ ./man_dpgen_nand3.sgm \ ./man_dpgen_and2.sgm \ @@ -25,6 +26,7 @@ EXTRA_DIST = $(pdf_DATA) \ ./man_dpgen_nor4.sgm \ ./man_dpgen_xor2.sgm \ ./man_dpgen_xnor2.sgm \ + ./man_dpgen_shrot.sgm \ ./man_dpgen_nmux2.sgm \ ./man_dpgen_nbuse.sgm \ ./man_dpgen_mux2.sgm \ @@ -33,7 +35,6 @@ EXTRA_DIST = $(pdf_DATA) \ ./man_dpgen_nor2mask.sgm \ ./man_dpgen_xnor2mask.sgm \ ./man_dpgen_adsb2f.sgm \ - ./man_dpgen_shift.sgm \ ./man_dpgen_nul.sgm \ ./man_dpgen_rom2.sgm \ ./man_dpgen_rom4.sgm \ diff --git a/alliance/src/genlib/doc/build_doc.sh b/alliance/src/genlib/doc/build_doc.sh index 67741cb7..d24e5356 100755 --- a/alliance/src/genlib/doc/build_doc.sh +++ b/alliance/src/genlib/doc/build_doc.sh @@ -47,6 +47,10 @@ echo "" echo " o Building HTML..." + if [ -d $TOOL ]; then + mv $TOOL/CVS ./CVS-$TOOL + mv $TOOL/stylesheet-images/CVS ./CVS-SS-$TOOL + fi $DB2HTML $SGML_DOC >> $LOG 2>&1 if [ -d $TOOL.junk ]; then rm -r $TOOL.junk; fi @@ -67,6 +71,10 @@ echo "" >> $DOC_AM echo "EXTRA_DIST = \$(pkghtml_DATA)" >> $DOC_AM mv $DOC_AM $TOOL/Makefile.am + if [ -f ./CVS-$TOOL ]; then + mv ./CVS-$TOOL $TOOL/CVS + mv ./CVS-SS-$TOOL $TOOL/stylesheet-images/CVS + fi echo "" diff --git a/alliance/src/genlib/doc/genlib.sgm b/alliance/src/genlib/doc/genlib.sgm index 4c2af3d5..00d5e59f 100644 --- a/alliance/src/genlib/doc/genlib.sgm +++ b/alliance/src/genlib/doc/genlib.sgm @@ -30,6 +30,7 @@ + @@ -189,6 +190,7 @@ &man-dpgen-xnor2mask; &man-dpgen-adsb2f; &man-dpgen-shift; + &man-dpgen-shrot; &man-dpgen-nul; &man-dpgen-const; &man-dpgen-rom2; diff --git a/alliance/src/genlib/doc/genlib/Makefile.am b/alliance/src/genlib/doc/genlib/Makefile.am index 0564af4b..412da33b 100644 --- a/alliance/src/genlib/doc/genlib/Makefile.am +++ b/alliance/src/genlib/doc/genlib/Makefile.am @@ -31,6 +31,7 @@ pkghtml_DATA = \ ./man_dpgen_xnor2mask.html \ ./man_dpgen_adsb2f.html \ ./man_dpgen_shift.html \ + ./man_dpgen_shrot.html \ ./man_dpgen_nul.html \ ./man_dpgen_const.html \ ./man_dpgen_rom2.html \ diff --git a/alliance/src/genlib/doc/genlib/genlib.html b/alliance/src/genlib/doc/genlib/genlib.html index 5516dbec..c501fb8f 100644 --- a/alliance/src/genlib/doc/genlib/genlib.html +++ b/alliance/src/genlib/doc/genlib/genlib.html @@ -219,6 +219,11 @@ HREF="man_dpgen_shift.html" > --  Shifter Macro-Generator
DPGEN_SHROT --  Shift/Rotation Macro-Generator
DPGEN_NUL --  Zero Detector Macro-Generator
DPGEN_ADSB2F

Name

Synopsis

Description

Terminal Names

Example

See Also

DPGEN_AND2

Description

Terminal Names

Behavior

Example

See Also

DPGEN_AND3

Description

Terminal Names

Behavior

Example

See Also

DPGEN_AND4

Description

Terminal Names

Behavior

Example

See Also

DPGEN_BUFF

Description

Terminal Names

Behavior

Example

See Also

DPGEN_BUSE

Description

Terminal Names

Behavior

Example

See Also

DPGEN_CONST

Description

Terminal Names

Behavior

Example

See Also

DPGEN_DFF

Description

Terminal Names

Example

See Also

DPGEN_DFFT

Description

Terminal Names

Example

See Also

DPGEN_INV

Description

Terminal Names

Behavior

Example

See Also

DPGEN_MUX2

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NAND2

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NAND2MASK

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NAND3

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NAND4

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NBUSE

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NMUX2

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NOR2

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NOR2MASK

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NOR3

Description

Terminal Names

Behavior

Example

See Also

DPGEN_NOR4

Description

Terminal Names

Behavior

Example

See Also

<<< PreviousDPGEN_NUL

Description

Terminal Names

Behavior

Example

See Also

<<< PreviousDPGEN_SHIFTDPGEN_SHROT
DPGEN_OR2

Name

Synopsis

Description

Terminal Names

Behavior

Example

See Also

DPGEN_OR3

Description

Terminal Names

Behavior

Example

See Also

DPGEN_OR4

Description

Terminal Names

Behavior

Example

See Also

DPGEN_RF1

Description

Terminal Names

Example

See Also

DPGEN_RF1D

Description

Terminal Names

Example

See Also

DPGEN_ROM2

Description

Terminal Names

Behavior

Example

See Also

DPGEN_ROM4

Description

Terminal Names

Behavior

Example

See Also

DPGEN_SFF

Description

Terminal Names

Example

See Also

DPGEN_SFFT

Description

Terminal Names

Example

See Also

Next >>>DPGEN_SHIFT

Description

N bits shifter named bits shifter with name modelname
  • if if the op[0] signal is set to '1' perform - a right shift, left shift otherwise. +> performs + a right shift, performs a left shift otherwise.

  • if if the op[1] signal is set to '1' perform - a sign extention, i.e. an arithmetic shift (only meaningful in case - of a right shift). +> performs + an arithmetic shift (only meaningful in case of a right shift).

  • shamt : specify the shift amount. The wide of this signal +> : specifies the shift amount. The width of this signal (Y) is computed from the operator's wide : +>) is computed from the operator's width : Y = logY = ceil(log2(N) - 1(N)) - 1.

  • Terminal Names

  • i0 : value to shift (input, : value to shift (input, N

  • q : output ( : output (N

    Example

See Also

Next >>>DPGEN_NULDPGEN_SHROT
GENLIB_MACRO(DPGEN_SHIFT, "model_shift_32"
-                        , F_BEHAV|F_PLACE
-                        , 32
-                        );
+>GENLIB_MACRO(DPGEN_SHIFT, "model_shift_32",
+                          F_BEHAV|F_PLACE,
+                          32);
 
-GENLIB_LOINS( "model_shift_32"
-            , "instance1_shift_32"
-            , "add_sub"
-            , "op[1:0]"
-            , "shamt[4:0]"
-            , "i0[31:0]"
-            ,  "q[31:0]"
-            , "vdd", "vss", NULL
-            );
+GENLIB_LOINS("model_shift_32",
+             "instance1_shift_32", 
+             "op[1:0]", 
+             "shamt[4:0]", 
+             "x[31:0]", 
+             "y[31:0]", 
+             "vdd", "vss", NULL);
     
DPGEN_XNOR2

Name

Synopsis

Description

Terminal Names

Behavior

Example

See Also

DPGEN_XNOR2MASK

Description

Terminal Names

Behavior

Example

See Also

DPGEN_XOR2

Description

Terminal Names

Behavior

Example

See Also

  • DPGEN_SHROT(3)

  • See Also

     --  Shifter Macro-Generator
    DPGEN_SHROT --  Shift/Rotation Macro-Generator
    DPGEN_NUL --  Zero Detector Macro-Generator