[libre-riscv-dev] extremely busy crowdsupply update started

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Mar 28 23:16:52 GMT 2020


On Sat, Mar 28, 2020 at 4:45 PM Jean-Paul Chaput
<Jean-Paul.Chaput at lip6.fr> wrote:
> > 3.2.3. Data types
> >
> > Python use duck typing, so you should avoid any direct type indication
> > or querying in Python.
> >
> > Bad: Cfg.getParamInt('katana.vTracksReservedLocal').setInt(6)
> >
> > Good: Cfg['katana.vTracksReservedLocal'] = 6

sorted.  jean-paul feel free (after jock's review and highly likely
automatic reaction to put code-comments in it) to cut/paste the Config
class into coriolis2 somewhere.

hypothetically it's possible to create a nested pseudo-class which
does away with the need for the conversion of "." to "_" however i
honestly feel it's overkill: underscore looks perfectly fine to me.

btw please do fix the spelling of "edgelength" :)  at least provide
both names for the same param?


https://git.libre-riscv.org/?p=soclayout.git;a=commitdiff;h=81283a7462a0623cb8b5f603be5fd96117595081
https://git.libre-riscv.org/?p=soclayout.git;a=blob;f=experiments7/utils.py;h=60057f63810942bcfce160234db1c9eafe0ba5ba;hb=81283a7462a0623cb8b5f603be5fd96117595081#l320
https://git.libre-riscv.org/?p=soclayout.git;a=blob;f=experiments7/doAlu16.py;h=1c1b61605ec9422ce9e88af57501fdbe6d9ac197;hb=81283a7462a0623cb8b5f603be5fd96117595081#l17

  17 def coriolis_setup():
  18     with Config(Cfg.Parameter.Priority.UserFile) as cfg:
  19         cfg.misc_catchCore = False
  20         cfg.misc_info = False
  21         cfg.misc_paranoid = False
  22         cfg.misc_bug = False
  23         cfg.misc_logMode = True
  24         cfg.misc_verboseLevel1 = True
  25         cfg.misc_verboseLevel2 = True
  26         cfg.etesian_effort = 2
  27         cfg.etesian_spaceMargin = "20.0%"
  28         cfg.etesian_aspectRatio = "100.0%"
  29         cfg.etesian_uniformDensity = True
  30         cfg.anabatic_edgeLenght = 24
  31         cfg.anabatic_edgeWidth = 8
  32         cfg.anabatic_topRoutingLayer = 'METAL5'
  33         cfg.katana_searchHalo = 30
  34         cfg.katana_eventsLimit = 1000000
  35         cfg.katana_hTracksReservedLocal = 7
  36         cfg.katana_vTracksReservedLocal = 6
  37
  38         env = af.getEnvironment()
  39         env.setCLOCK('^clk$|m_clock')
  40         env.setPOWER('vdd')
  41         env.setGROUND('vss')



More information about the libre-riscv-dev mailing list