rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Add example on how to use Logic Array assignment would be good

Open quekyj opened this issue 1 year ago • 2 comments

Motivation

Add a simple example to website https://intel.github.io/rohd-website/docs/logic-arrays/ on how to use array assignment, users are confuse with:

logicArray.elements[0]; // a[0]

Probably, example of assignment in conditionals also would be helpful. https://github.com/intel/rohd/discussions/425

Desired solution

Improve documentation

Alternatives considered

No response

Additional details

No response

quekyj avatar Oct 27 '23 07:10 quekyj

https://gist.github.com/quekyj/5b6ec50f9bd95fce13f8ab8fed4dc453. Park here as reference.

quekyj avatar Oct 27 '23 07:10 quekyj

Good idea, thank you for filing!

mkorbel1 avatar Oct 27 '23 15:10 mkorbel1