[doc] document our primitives
- [ ] add mention in Comportability the recommendation to follow utilization guides for existing IP primitives
- [ ] pointer to a yet-to-be-written technical specification for all primitives (see below)
- [ ] list requirements for primitives (RTL, lint, DV, etc)
- [ ] suggest the protocol to add a primitive to our library (rationale as to why existing ones are insufficient)
- [ ] create said technical specification for all primitives; goal: concise but thorough, with rationale;
- [ ] Question: one master doc, or one per? (leaning former)
- [ ] Question: place under hw/ip/prim/doc/prim.md? or hw/ip/prim/README.md?
- [ ] Sections, similar to other technical specifications: feature set, overview, block diagram, interfaces, current level of verification (mini D/V status), CDC implications (a bit redundant with hw/formal/README.md section on CDC that is coming), regtool recommendations, software recommendations
@sjgitty is there anything here you want the rest of us to help fill in?
I don't feel the need to task anyone with it yet, but it should be done by 0.5. Anyone is welcome to start on it, likely in a Google Doc then we can all chip in.
Preference among some team members:
- individual mini-specs for moderately complex items
- comportability points to prim/README.md which links to more detailed specs
- @eunchan will start one for prim_packer as an example, @msfschaffner can follow with LFSR
- @NilsGraf or @sjgitty can work on CDC crossing items
- mini-specs should be targeted at other designers to use
Current thinking of which ones to target
- prim_arbiter.sv
- prim_fifo_async.sv - put in a CDC primitives doc
- prim_fifo_sync.sv
- prim_flop_2sync.sv - put in CDC primitives doc
- prim_lfsr.sv
- prim_packer.sv
- prim_pulse_sync.sv - put in CDC primitives doc
- prim_arbiter.sv
For things like prim_flash, which is more than just generic storage, should there be one also? Or do we prefer I keep that with the flash spec itself?
On Mon, Sep 16, 2019 at 2:42 PM Scott Johnson [email protected] wrote:
Current thinking of which ones to target
- prim_arbiter.sv
- prim_fifo_async.sv - put in a CDC primitives doc
- prim_fifo_sync.sv
- prim_flop_2sync.sv - put in CDC primitives doc
- prim_lfsr.sv
- prim_packer.sv
- prim_pulse_sync.sv - put in CDC primitives doc
- prim_arbiter.sv
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/10?email_source=notifications&email_token=AAH2RSWN3ONYVXBCFCYA6ZLQJ74TPA5CNFSM4ISTJPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62TM3A#issuecomment-531969644, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH2RSVN2JVQX7LOBDOMM73QJ74TPANCNFSM4ISTJPGA .
One thing we were steering towards was the notion that if a primitive was primarily for one functional unit, no need to document it as a standalone primitive. It could be that someone will request documentation in the future, but we're going to only start with documenting those that are clearly intended for multi-re-use, primarily the CDC ones and similar.
On Tue, Sep 17, 2019 at 10:18 AM tjaychen [email protected] wrote:
For things like prim_flash, which is more than just generic storage, should there be one also? Or do we prefer I keep that with the flash spec itself?
On Mon, Sep 16, 2019 at 2:42 PM Scott Johnson [email protected] wrote:
Current thinking of which ones to target
- prim_arbiter.sv
- prim_fifo_async.sv - put in a CDC primitives doc
- prim_fifo_sync.sv
- prim_flop_2sync.sv - put in CDC primitives doc
- prim_lfsr.sv
- prim_packer.sv
- prim_pulse_sync.sv - put in CDC primitives doc
- prim_arbiter.sv
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/lowRISC/opentitan/issues/10?email_source=notifications&email_token=AAH2RSWN3ONYVXBCFCYA6ZLQJ74TPA5CNFSM4ISTJPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62TM3A#issuecomment-531969644 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AAH2RSVN2JVQX7LOBDOMM73QJ74TPANCNFSM4ISTJPGA
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/10?email_source=notifications&email_token=AJZQKVNXPI7UPHCK2ACSQSTQKEGPVA5CNFSM4ISTJPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65IDZY#issuecomment-532316647, or mute the thread https://github.com/notifications/unsubscribe-auth/AJZQKVP2RATJHMUTQLDVNYLQKEGPVANCNFSM4ISTJPGA .
SGTM
On Tue, Sep 17, 2019 at 10:59 AM Scott Johnson [email protected] wrote:
One thing we were steering towards was the notion that if a primitive was primarily for one functional unit, no need to document it as a standalone primitive. It could be that someone will request documentation in the future, but we're going to only start with documenting those that are clearly intended for multi-re-use, primarily the CDC ones and similar.
On Tue, Sep 17, 2019 at 10:18 AM tjaychen [email protected] wrote:
For things like prim_flash, which is more than just generic storage, should there be one also? Or do we prefer I keep that with the flash spec itself?
On Mon, Sep 16, 2019 at 2:42 PM Scott Johnson [email protected] wrote:
Current thinking of which ones to target
- prim_arbiter.sv
- prim_fifo_async.sv - put in a CDC primitives doc
- prim_fifo_sync.sv
- prim_flop_2sync.sv - put in CDC primitives doc
- prim_lfsr.sv
- prim_packer.sv
- prim_pulse_sync.sv - put in CDC primitives doc
- prim_arbiter.sv
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <
https://github.com/lowRISC/opentitan/issues/10?email_source=notifications&email_token=AAH2RSWN3ONYVXBCFCYA6ZLQJ74TPA5CNFSM4ISTJPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62TM3A#issuecomment-531969644
, or mute the thread <
https://github.com/notifications/unsubscribe-auth/AAH2RSVN2JVQX7LOBDOMM73QJ74TPANCNFSM4ISTJPGA
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/lowRISC/opentitan/issues/10?email_source=notifications&email_token=AJZQKVNXPI7UPHCK2ACSQSTQKEGPVA5CNFSM4ISTJPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65IDZY#issuecomment-532316647 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AJZQKVP2RATJHMUTQLDVNYLQKEGPVANCNFSM4ISTJPGA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/10?email_source=notifications&email_token=AAH2RSU6Q44FEC2PCNNEML3QKELIFA5CNFSM4ISTJPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65MDGQ#issuecomment-532332954, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH2RSUQX2NT4GDPYR7GV23QKELIFANCNFSM4ISTJPGA .
I do think this would still be good to try and address before November, will track.