Move top_earlgray_usb to use auto generation
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?
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.
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.
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.
@stefanlippuner @vogelpi you're planning to work on this AFAIK?
Yes, the we continued this discussion in Stefan's original USB issue here: #1007 .
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.