Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

ENUM ENCODING

Example 2,9 Enumerated Types Using the enum encoding Attribute... [Pg.53]

Example 2.10 State Machine Using the state vector and enum encoding Attributes... [Pg.54]

Example 2.10 shows the same state machine described in Example 2.7 using both the state vector attribute and the enum encodlng attribute. enum encoding has been used such that the first flip-flop, when on, implies the state SO, the second flip-flop implies state SI, and so on. Note that the coding style uses the state vector attribute as in Example 2.8 and does not require the declaration of state vectors. In general, the one-hot encoding style involves e use of one flip-flop for each state, the current state being determined by the flip-flop which is on. [Pg.55]

From the ENUM ENCODING attribute, you can see that and X are mapped to D, which is a don t-care (can be either O or T). Therefore, for synthesis, is equivalent to X which is equivalent to D . This is the reason your synthesis results are the same, regardless of whether you use or X . [Pg.130]

It is also possible to define your own encoding scheme through the use of the ENUM TYPE ENCODING attribute. See Qiapter 7 for more details on attributes. Box 3.7 illustrates the syntax of this t e of declaration. [Pg.29]


See other pages where ENUM ENCODING is mentioned: [Pg.52]    [Pg.52]    [Pg.53]    [Pg.53]    [Pg.53]    [Pg.54]    [Pg.54]    [Pg.54]    [Pg.130]    [Pg.142]    [Pg.52]    [Pg.52]    [Pg.53]    [Pg.53]    [Pg.53]    [Pg.54]    [Pg.54]    [Pg.54]    [Pg.130]    [Pg.142]    [Pg.236]    [Pg.237]    [Pg.240]    [Pg.240]    [Pg.319]   
See also in sourсe #XX -- [ Pg.53 , Pg.55 , Pg.130 ]




SEARCH



ENCODE

ENUM TYPE ENCODING attribut

Encoded

Encoding

© 2024 chempedia.info