fscanf for long binary strings in Verilog
<p>I am making a Verilog program that needs to read in lines of 77 bit binary strings from an input file. The input file will be formatted such that it is a string of 77 1's and 0's followed by '\n'. </p>

<p>My program wants to read this line by line and store the entire string into a reg that looks like: </p>

<pre><code>reg DATA_REG [76:0]
</code></pre>

<p>I am using </p>

<pre><code>fscanf(data_input_file, "???????", DATA_REG)
</code></pre>

<p>but I am not sure what to put in the quotations. I want the string to be interpreted literally; that is, if the number is ...0000001110... i want DATA_REG to contain 0000001110, not 1110 or 14.</p>

<p>Thank you for your help! </p>