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

Text in diagrams is cropped #82

Open
oharboe opened this issue Mar 16, 2022 · 1 comment
Open

Text in diagrams is cropped #82

oharboe opened this issue Mar 16, 2022 · 1 comment

Comments

@oharboe
Copy link
Contributor

oharboe commented Mar 16, 2022

Diagram
-------

.. hdl-diagram:: fiddlybob.v
   :type: netlistsvg
   :module: fiddlybob

fiddlybob.v:

module fiddlybob(
  input         thistextiscropped,
  input         moretextthatiscropped,
  input         moretextthatiscroppedNot,
  output        evenmoretextthatiscropped,
  output [63:0] ididnotexpectthistexttobecropped,
);
  wire  _evenmoretextthatiscropped_T_2 = ididnotexpectthistexttobecropped[0] != moretextthatiscroppedNot;
  assign evenmoretextthatiscropped = thistextiscropped & (~moretextthatiscropped | _evenmoretextthatiscropped_T_2);
endmodule

Result, cropped text:

fiddlybob

@oharboe
Copy link
Contributor Author

oharboe commented Mar 16, 2022

I take it this is actually a problem in netlistsvg: nturley/netlistsvg#119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant