opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

Move top_earlgray_usb to use auto generation

Open mdhayter opened this issue 7 years ago • 6 comments

Need to auto generate the top_earlgray_usb (for now it is still in the old standalone model). Hope to have some time to do this next week. (I don't know how to cc you so added as assignees for the questions)

@eunchan is there documentation on this? I didn't find on bubble but I seem to remember it in a review.

@eunchan @imphil as part of this should I move to a new top_earlgray_usb directory? Originally it made sense to keep them in the same place because there was so much shared and you only had to update files like the xilinx clock generation in one place, but if things are generated there should be almost nothing shared. Or since we are soon moving on from earlgrey should I keep it where it is? Or maybe just rtl_usb in the top_earlgrey?

mdhayter avatar May 31 '19 09:05 mdhayter

Now the topgen is quite ready to branch out to the different directory. You can create top_earlgrey_usb and copy top_earlgrey.hjson from top_earlgrey to the new directory. I prefer having separated directory for _usb unless the top_earlgrey to have uart and uart_usb design both.

eunchan avatar Jul 15 '19 21:07 eunchan

Is this obsolete, per the recent discussion to unify top_earlygrey? Suggest we close this, and track top_earlgre_* organization under https://github.com/lowRISC/opentitan/issues/295.

aytong avatar Oct 31 '19 00:10 aytong

i can take a closer look at this. I don't actually know what is different with the _usb version. If it's close enough, we should do as you say and merge back.

tjaychen avatar Oct 31 '19 03:10 tjaychen

@stefanlippuner @vogelpi you're planning to work on this AFAIK?

imphil avatar Dec 07 '19 15:12 imphil

Yes, the we continued this discussion in Stefan's original USB issue here: #1007 .

vogelpi avatar Dec 09 '19 08:12 vogelpi

This issue can be closed once we decide to move forward with USB within top_earlgrey, which is our current intention. Discussion next week on game plan.

sjgitty avatar Jan 03 '20 23:01 sjgitty