I have: type color : [ blue = 1, white = 2];
I want to extend this type and add:
black=0
how should I do that?
thanks,
Add enum item to type - Specman
142 Views Asked by Shuly Bukra At
1
There are 1 best solutions below
Related Questions in TYPES
- Need clarification on VHDL expressions involving std_logic_vector, unsigned and literals, unsure about compiler interpretation
- Adding a different string to a table fails
- The type of B is displayed as A when `type B = A` is used. Why is it displayed as `any` when `type B = A | A` is used instead?
- why we got same data type in two versions like "int" and "integer" in php?
- Handling NaN entries in a dataframe created from CSV
- Cannot find type definition file for 'node' in react project
- Correct way to count types in whole corpus
- Typescript: how to get possible keys from const with limited values?
- Having two Image types in React TypeScript one for upload, one for display
- MOOC.fi Java Programming course 1 - Exercise 13 "Exercises" Part 6 - Compilation error
- Is is a mistake to use type keyword after curly braces in TS when importing constants and files fro one file?
- type annotations needed, try using a fully qualified path to specify the expected types
- Need a simple example how to catch a data type error en C++
- Pyspark reads data as string but on Mongo they are double
- Extract a Maybe from a heterogeneous collection
Related Questions in ENUMERATION
- Enumerate unique multiples of numbers
- Delphi - Binary OR values from an enumerated type
- How to collapsed record into one based on start date and end date of record in R
- DropDownListFor selected value returns null in the Enum property Model on form POST in ASP.Net Core MVC
- Seeking Efficient Enumeration Strategies for Graph Partitioning
- Trying to import csv string value, with variable within string?
- How do I get a list of possible names/values from System.Net.SecurityProtocolType
- Efficient calculation of all permutations mapping a vector into another in Python?
- Enumerated with default value, but not name
- How do I setup my coroutine to go through each character's turn, one by one?
- Getting Bytes Per Sector using WMI in C# by only knowing the Partition Letter
- Python request.get function returning 404 on all directories even valid ones
- Python - Emumerating all possibilities of a list with duplicates in it
- When there are many hands in an image, what is Mediapipe's policy of enumerating them?
- Is there any way to override the name of enum in scala?
Related Questions in EXTEND
- PHP CURL extended Basic Access Authentication Header
- Lexical Editor: DecoratorNode in vanilla js
- Does basic Python have any equivalent to extending Django templates?
- Getting methods from a class that extends another class
- Extendable card in jetpack compose
- Service in Angular is instantiated twice when extending the service with another service
- How to easily extend Jetpack Compose components?
- Best way to set up test suit so that test cases can be used across different classes. using Java
- In Flutter, how to extend the bottom-most widget to the bottom of the screen (when conditionally required) when it is within a SingleChildScrollView?
- Extend already compiled flutter application functionality through plugins
- Undefined class 'Widget'. Try changing the name to the name of an existing class, or creating a class with the name 'Widget'. Error
- Siebel Open UI - View Applet not able to extend Applet PR
- TypeError: Class extends value undefined is not a constructor or null. (React application)
- Can't set rotation using extended class
- Extend "Is valid Xhtml" validator for Rich Text Field in Sitecore
Related Questions in SPECMAN
- How to initialize list of uint in Specman?
- keep has_each for a list in Specman
- specman cant connect multiple ports to a single port
- specman event is counted although it wasn't fired
- specman : how to make agent pointer to environment?
- how to setenv from specman?
- specman: how does a sequence get the result from a transaction it sent to BFM?
- Constrain a Specman list so it doesn't have identical values in consecutive elements
- Access data member of a unit from another unit Specman
- Constrains on specific bits in integer
- Copying Lists using Keeps in Specman
- Generating a list in Specman with at least one of each enum
- SystemVerilog equivalent for specman's sys.tick_end
- How to type cast a list of uint to a list of vr_ahb_data in Specman?
- field started with % in struct in Specman
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
you can extend the type -