Giter Club home page Giter Club logo

norm's People

Contributors

lucacaronti avatar simoneruffini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

skysliao dzr00t

norm's Issues

Bug 38

fsm_nv_reg_TB presents a strange behavior for task_value_tb = 38. This can be seen in the graphs at page 45.
Maybe this is regular and just a glitch in how the policy reacts to the voltage trace or it is a warning for some bug in the fsm or how values are acquired by the script.

Vivado project generation

Write a tcl script that will be able to generate the whole vivado project.

For this task this are candidate tcl script:

  • write_proj_tcl: to generate source references, see this link
  • write_ip_tcl [get_ips]: to generate ip scripts, see Tcl Command Reference
  • write_xdc: to link/generate xdc file, see link above

The name of the script will be generate_proj_tcl.tcl

Unify projects names and folders

Use NVMEF_FPGA (non volatile memory emulation for fpga) as the Vivado project name.

In theory this can be done by setting the name in the generation script (see #3 ) and then delete and rebuild the vivado folder.

Overhaul vhdl packages

The project contains 3 packages:
1)COMMON_PACKAGE.vhd for global and project common constants and functions
2)NVME_FRAMEWORK_PACKAGE.vhd for NVMEF specific constants
3)TEST_ARCHITECTURE_PACKAGE.vhdfor test architecture specific constants

Unfortunately the variables stored in these packages do not respect their definition, either because the distinction of this layers is not black or white or because some package includes caused recursive behaviour.

A different approach for constant and project values storing should be discussed, ex:

  • just a file and different packages
  • just a package
  • refactor some entities so that the separation of these packages can be effective

Create scripts that help working with a script generated project on git

This issue is directly linked to #3 .
Explenation:
After the Vivado project is exported as a tcl script it will be possible to autogenerate it after a git clone. What is missing, instead, is the ability to make changes to the local project and then reflect them onto the tcl script so others can use it too.

A method for doing that should be implemented, maybe it is just recompiling the script for code generation.

Remove IPs

Change all Xiliinx IPs with opensource version of them

vol_cntr1_pa_val in fsm_nv_reg_db false triggers

The volatile counter power approximator triggers improperly during runtime (only for fsmn_nv_reg_DB policy). This causes miscalculation of the power approximation visible in the report.

The bug is caused by the fact that:
1)vol_cntr1_pa_val triggers when fsm_nv_reg_state = do_operation_s
2) When the machine is in hazard state (voltage trace level below hazard threshold level) a data save is performed. But after that the machine goes back to do_operation_s even if the system is still in hazard.

Possible solution
Add an additional state to fsm_nv_reg_DB that precedes do_operation_s and that is in charge to check the voltage level against defined thresholds. This state will then direct the fsm to the right operation and will be the sink for all of them after completion.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.