GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DPGEN_ROM2 (3)

NAME

DPGEN_ROM2 - 2 words ROM Macro-Generator

CONTENTS

Synopsis

SYNOPSIS

#include <genlib.h>

void GENLIB_MACRO (DPGEN_ROM2, char *modelname, long flags, long N, char *constVal0, char *constVal1);

DESCRIPTION

Generate a N bits 2 words optimized ROM named modelname.

    TERMINAL NAMES

1. sel0 : address of the value (input, 1 bits).
2. q : the selected word (output, N bit).
3. vdd : power.
4. vss : ground.

    BEHAVIOR

q <= WITH sel0 SELECT
     contsVal0  WHEN B"0",
     constVal1  WHEN B"1";
     

EXAMPLE

GENLIB_MACRO(DPGEN_ROM2, "model_rom2_set1_4"
                       , F_BEHAV|F_PLACE
                       , 4
                       , "0b1010"  /* A string! */
                       , "0b1100"  /* A string! */
                       );

GENLIB_LOINS( "model_rom2_set1_4" , "instance1_rom2_4" , "sel0" , "q[31:0]" , "vdd", "vss", NULL );

SEE ALSO

GENLIB_MACRO(3), genlib(1)

Search for    or go to Top of page |  Section 3 |  Main Index


ASIM/LIP6 DPGEN_ROM2 (3) 30 July 2004

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.