Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verilog generation #6

Open
LudwigCRON opened this issue Sep 15, 2019 · 1 comment
Open

verilog generation #6

LudwigCRON opened this issue Sep 15, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@LudwigCRON
Copy link
Owner

proposition of enhancement:

From the given input file, the tool can generate a verilog sequence for simulation purpose. This could save time to the designer and ensure it respect the specification.

this need a new inputs from the designer such as:

@LudwigCRON LudwigCRON changed the title verilog generation verilog generation [enhancement] Sep 15, 2019
@LudwigCRON LudwigCRON changed the title verilog generation [enhancement] verilog generation Sep 15, 2019
@LudwigCRON LudwigCRON added the enhancement New feature or request label Sep 15, 2019
@LudwigCRON LudwigCRON added this to the v0.0.5 milestone Sep 9, 2020
@LudwigCRON
Copy link
Owner Author

LudwigCRON commented Oct 20, 2020

Propose to generate a generator/checker verilog module as the following

module name_of_the_input_file #(
    // scale factor to adjust the timing of the dut
    parameter realtime TICK_PERIOD = 100ns
) (
    inout wire signal_name,
    // while 1 generate signal_name
    input wire gen_signal_name,
    // while 1 check signal_name
    input wire chk_signal_name,
    ...
);

...
wire new_op_signal_name;
assign new_op_signal_name = gen_signal_name | chk_signal_name;

task gen_chk_signal_name();
...
endtask

always @(posedge new_op_signal_name)
        gen_chk_signal_name();
...

endmodule

The module shall count the number of errors and display on which signal it occurs and at which moment.

  • input file name reformat
  • task able to generate and check signal
  • ignore check if 'x'
  • detect width of signal
    * wire if z01xhlnpHLNP only
    * bus if =2345 and widest data set the width
    * real if asc
  • generate unsupported field error for unsupported bricks
  • transform svg path into list of floats
    * apply thresholds for 01Z
    * detect X symbol
    * no threshold if analog but scale to VDDA and VSSA
  • add input real VDDA to verilog if analog detected
  • add input real VSSA to verilog if analog detected

@LudwigCRON LudwigCRON modified the milestones: v0.0.5, v0.0.6 Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant