Questions tagged [cadence]

A global provider of Electronic Design Automation (EDA) software and engineering services. It produces software for designing integrated circuits (also known as "chips"), and printed circuit boards.

Wikipedia

109 questions
1
vote
0 answers

Need help aligning Verilog-A charge pump model with schematic for desired output behavior

I'm currently working on modeling a basic/symmetrical charge pump in Verilog-A for the z domain. However, I'm encountering a discrepancy between the results obtained from the Verilog-A model and the schematic. I would like the Verilog-A model to…
wiss jl
  • 11
  • 2
1
vote
1 answer

Flow Cadence: How to generate a random integer between two integer?

I tried unsafeRandom and this custom smart-contract without success: https://github.com/justjoolz/PRNG/blob/master/cadence/contracts/PRNG.cdc
ziny
  • 11
  • 2
1
vote
0 answers

How to check if a signal is toggling after some time in simvision TCL command

I was working in simvision environment and I was developing to script to check whether a signal is toggling after some time. Could you please let me know if there are TCL command in the simvision console. I was using waveform values -at time signal…
Itsme
  • 51
  • 3
1
vote
0 answers

Plotting fmax v/s ID/W (current density) in cadence

I want to plot a graph of fmax v/s current density in cadence. I plan to use the s-parameter analysis but I am unaware of how to plot the ID/W term on x axis. I would be grateful if anybody could share some details. In the sweep options of the sp…
Yash
  • 11
  • 1
1
vote
1 answer

field `accessory` of type `Transaction` is not invalidated (moved or destroyed). not invalidated - flow cadence

I'm developing a game and I have an avatar resource with the following definition that stores accessory NFTs and includes an equip function that returns any accessory that was existing in the slot pub resource Avatar { pub let id: UInt64 …
Aylii
  • 525
  • 4
  • 10
1
vote
1 answer

How do you make a resource self-destruct on flow / cadence?

I would like for a resource to have a function where at the end of the function it self destructs by calling destroy self pub resource SelfDestructingConsumable { pub fun consume() { // do some stuff destroy self } } The type checker…
Aylii
  • 525
  • 4
  • 10
1
vote
0 answers

What's backquote meaning in upf writed by tcl?

I'm seeing upf src code, but I meet the backquote before create_power_domain. I don't understand what's backquote meaning in follow code.(the code is used by clp) ` create_power_domain CORE -elements {.} I have searched in tcl lan, but I couldn't…
mhhai
  • 31
  • 3
1
vote
1 answer

Is there a quicker way to get workflowHistory

we use cadence 0.11 In our project, there is an often used service which needs the workflowHistory. So we have to call this function oftenly: GetWorkflowHistory(ctx context.Context, workflowID string, runID string, isLongPoll bool, filterType…
vox_vox
  • 13
  • 3
1
vote
1 answer

Temporal/Cadence performance tuning

Could anyone help me understand the following situation. I have 1 worker with the configuration: workerOptions := worker.Options{ BackgroundActivityContext: ctx, MaxConcurrentWorkflowTaskPollers: 10, …
1
vote
1 answer

How to create workflows dynamically in cadence

Each workflow should be implemented in a separate workflow class? Is it recommended to implement a generic workflow class where we will call activities and fire timers using the argument which passed to the workflow? In our use case, we will be…
1
vote
1 answer

Does cadence support Azure Cosmos DB Cassandra API instead of cassandra

Does Cadence support Azure Cosmos DB Cassandra API instead of Apache cassandra, to persist the Data. If yes, can you share the sample docker-compose configuration.
1
vote
1 answer

Function optional parameters not in sensitivity list when called from assign

I think I've figured out why this happens, but I would like to confirm it, and to see if there is a better solution. Consider the following module which has a function where the default for one of the parameters is bound to some register inside the…
techdude
  • 1,334
  • 20
  • 29
1
vote
1 answer

How to pass a string variable (not a string literal) to $dumpfile system task?

I am running simulations with different parameters passed to the testbench as plusargs. I want to dump a separate VCD file for each of these runs. I tried declaring a string variable and constructing the file name using the parameters passed, and…
Pramod
  • 25
  • 7
1
vote
1 answer

BLE cadence characteristic parsing iOS bluetooth Swift

I am trying to create an iOS app that reads a cadence sensor (Wahoo fitness cadence). This is bluetooth characteristic 0x2A5B (CSC Measurement). In this example, cadence is how fast the pedals rotate on a bike. I am using the code below in Swift to…
user7268650
1
vote
2 answers

How to get list of instance pins connected to net in Cadence Virtuoso schematic using SKILL

I have schematic with multiple instances connected to one of the nets. I need a SKILL function that will print for all instances list of pins connected to this net
Alex
  • 2,009
  • 6
  • 24
  • 27