Simple vhdl function
- or -
Post a project like this£30(approx. $38)
- Posted:
- Proposals: 1
- Remote
- #562562
- Expired
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
General information for the business: pet project
Kind of development: Customization of existing program
Num. of modules: 1
Description of requirements/functionality: The devices will be required to store part number data in the NVM. This means a command will contain instructions to re-program the NVM under certain conditions. We will have to check this and report appropriately.
Need to:
NVM bus functional model update to allow writes to NVM and check values (may lead to testbench changes)
Timing checks on signals
Command interpreter changes to allow checks/force of written values
Datasheet for NVM is microchip 512 ( 25LC12)
The NVM BFM is a functional representation of the memory.
The memory is initialised as a blank device. Stimulus files should be written such that they do not access an uninitialised address (e.g. one to which the test has not already written). If there are requirements specific to the opposite (e.g. reading a previously stored value), then this is a special case, but otherwise should not be attempted by a stimulus file.
Presuming you are reading a previously stored value, you have requirements specific to this functionality and there is no other way to perform the required steps within the stimulus, then you need to modify the ‘IF InitNVMMemory = TRUE THEN’ section of the code. For a specific set of indexes, you want to alter the memory contents from the default of X”00”. This is best done by manually assigning the appropriate indexes after the loop (e.g. nvm_memory(8) = X”AA”).
Extra notes:
Kind of development: Customization of existing program
Num. of modules: 1
Description of requirements/functionality: The devices will be required to store part number data in the NVM. This means a command will contain instructions to re-program the NVM under certain conditions. We will have to check this and report appropriately.
Need to:
NVM bus functional model update to allow writes to NVM and check values (may lead to testbench changes)
Timing checks on signals
Command interpreter changes to allow checks/force of written values
Datasheet for NVM is microchip 512 ( 25LC12)
The NVM BFM is a functional representation of the memory.
The memory is initialised as a blank device. Stimulus files should be written such that they do not access an uninitialised address (e.g. one to which the test has not already written). If there are requirements specific to the opposite (e.g. reading a previously stored value), then this is a special case, but otherwise should not be attempted by a stimulus file.
Presuming you are reading a previously stored value, you have requirements specific to this functionality and there is no other way to perform the required steps within the stimulus, then you need to modify the ‘IF InitNVMMemory = TRUE THEN’ section of the code. For a specific set of indexes, you want to alter the memory contents from the default of X”00”. This is best done by manually assigning the appropriate indexes after the loop (e.g. nvm_memory(8) = X”AA”).
Extra notes:
Jo S.
100% (2)Projects Completed
1
Freelancers worked with
1
Projects awarded
25%
Last project
18 Jul 2014
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies