Skip to content

tcl_inputs not working in environment as documented, need override #50

@redxeth

Description

@redxeth

All,

We are trying to add the -memories option to our probe in the TCL file. The template for this file shows an option called :tcl_inputs that is also indicated in the guide:

  sim.tcl_inputs %Q(
    probe -create -shm origen.dut.mems.user -all -memories -variables -unpacked 262144 -depth all
    probe -create -shm origen.dut.mems.cache -all -memories -variables -unpacked 262144 -depth all
  )

Unfortunately, it does not appear that this option works as it is not at all referenced in simulator.rb.

There is a :setup options that is brought in and used in the template. So perhaps the :tcl_inputs option was done in error? I don't see any history of it in the repository. Does anyone have any history?

So would like to discuss how to best proceed. Remove all references to tcl_inputs and replace the mention in the guide to :setup to start I would think.

Second, the template shows this to be an additional probe, not a replacement for the probe already defined at the start of the template. Should we add a way for overriding even the first probe included by default, for expert users?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions