Giter Site home page Giter Site logo

Comments (10)

tangxifan avatar tangxifan commented on June 27, 2024

@anaszameer-rs Let me know what you think. See if we can apply to all the counter designs.

from micro_benchmark.

anaszameer-rs avatar anaszameer-rs commented on June 27, 2024

@tangxifan Just a suggestion! Wouldn't that be great if we use resetp | resetn instead of resetb to make it more clear?
For instance,
counterdown8_async_resetp
shows a counter with the following features:
counting down
8-bit in width
Asynchronous active-high reset

from micro_benchmark.

tangxifan avatar tangxifan commented on June 27, 2024

@anaszameer-rs No problem for me. We should document it. Let me start documentation template this morning. Are you o.k. to write these down in the documentation?

from micro_benchmark.

tangxifan avatar tangxifan commented on June 27, 2024

@anaszameer-rs If we follow the naming convention of p, should we consider n for active-low signals, rather than b?

from micro_benchmark.

tangxifan avatar tangxifan commented on June 27, 2024

@anaszameer-rs Kindly review the documentation about the naming rules at:

https://micro-benchmark.readthedocs.io/en/latest/developer/naming_convention/#counter-design-names

If you agree, we can close this issue. The rule will be actively applied in later PRs.

from micro_benchmark.

anaszameer-rs avatar anaszameer-rs commented on June 27, 2024

ous active-high reset

@tangxifan Can we add more flexibility in counter design namings considering posedge | negedge | dual edge counters?

from micro_benchmark.

tangxifan avatar tangxifan commented on June 27, 2024

Good catch. Please suggest and we can update naming rules.
Currently, I will not propose to add negedge and dual edge counters massively, as OpenFPGA has not been tested on these types of counters.
But sooner or later, we should have it. Therefore, naming rules can be established now.

from micro_benchmark.

anaszameer-rs avatar anaszameer-rs commented on June 27, 2024

Good catch. Please suggest and we can update naming rules. Currently, I will not propose to add negedge and dual edge counters massively, as OpenFPGA has not been tested on these types of counters. But sooner or later, we should have it. Therefore, naming rules can be established now.

@tangxifan Can we add posedge | negedge | dualedge keywords for counter designs ?
for instance,
counterdown8_posedge_async_resetn

counting down
8-bit in width
counting on posedge of clock
Asynchronous active-low reset

from micro_benchmark.

anaszameer-rs avatar anaszameer-rs commented on June 27, 2024

Good catch. Please suggest and we can update naming rules. Currently, I will not propose to add negedge and dual edge counters massively, as OpenFPGA has not been tested on these types of counters. But sooner or later, we should have it. Therefore, naming rules can be established now.

@tangxifan Can we add posedge | negedge | dualedge keywords for counter designs ? for instance, counterdown8_posedge_async_resetn

counting down 8-bit in width counting on posedge of clock Asynchronous active-low reset

@tangxifan Can you please confirm which naming convention should i follow for my upcoming PR for Counter designs ?

from micro_benchmark.

tangxifan avatar tangxifan commented on June 27, 2024

@anaszameer-rs Let's follow the naming convention you have proposed.

from micro_benchmark.

Related Issues (4)

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.