Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more documentation on synthesized primitives, please #121

Open
ghost opened this issue Mar 1, 2016 · 4 comments
Open

more documentation on synthesized primitives, please #121

ghost opened this issue Mar 1, 2016 · 4 comments
Assignees
Labels
discuss to be discussed at next dev jour fixe (see #devel-discuss at https://yosyshq.slack.com/)

Comments

@ghost
Copy link

ghost commented Mar 1, 2016

I'd like to know what the $macc, $alu and $lcu nodes do.
Also, $_DLATCH_ variants.

@cliffordwolf
Copy link
Collaborator

Type e.g. help $macc or help $_DLATCH_P_ on the yosys command prompt (or run e.g. yosys -h '$macc' from a shell) to display the help message for a cell type. Not all cell types have a help message yet (e.g. most of the lowercase named "RTL" type cells don't; this is work in progress), but all cell types have a Verilog simulation model that can be displayed e.g. with help $macc+ (as indicated by the help $macc output).

I'll leave this ticket open as a reminder to continue writing cell type help messages..

@cliffordwolf cliffordwolf self-assigned this Apr 19, 2016
@lethalbit lethalbit added the discuss to be discussed at next dev jour fixe (see #devel-discuss at https://yosyshq.slack.com/) label Aug 16, 2022
@povik
Copy link
Member

povik commented Sep 29, 2023

As of today there's only a few coarse cells that have help messages, most don't. On the other hand the internal gate cells all seem to have a help text. Help texts for cells are parsed out from techlibs/common/simcells.v and .../simlib.v.

@NachtSpyder04
Copy link
Contributor

Hello,
I would like to work on this issue.

Can anyone guide me which cells should I target first?

@povik
Copy link
Member

povik commented Aug 14, 2024

I would suggest to start with the simple ones (equality operators $eq, $neq, arithmetic comparison $lt and friends, $logic_* operators).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss to be discussed at next dev jour fixe (see #devel-discuss at https://yosyshq.slack.com/)
Projects
None yet
Development

No branches or pull requests

4 participants