Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/s/t/stuff-HEAD/hack-myhdl/wavegen.py   stuff(Download)
import unittest
import sys
from myhdl import Signal, delay, Simulation, always_comb, \
    instance, intbv, bin, toVerilog, toVHDL, always, now, traceSignals
from config import (
def waveform_generator(clk, reset, select, threshold, delta_phase, _output):
 
    NOISEWIDTH16 = 16    # depends on polynomial
    NOISEWIDTH13 = 13
    HALFPHASE = 1 << (PHASEWIDTH - 1)
    QUARTERPHASE = 1 << (PHASEWIDTH - 2)
    THREEQUARTERPHASE = HALFPHASE + QUARTERPHASE
    TRIANGLESHIFT = (PHASEWIDTH - N) - 1
    RAMPSHIFT = PHASEWIDTH - N

src/s/t/stuff-HEAD/hack-myhdl/envgen.py   stuff(Download)
from myhdl import Signal, delay, Simulation, always_comb, \
    instance, intbv, bin, toVerilog, toVHDL, always, now, traceSignals
from config import (
    PHASEWIDTH,
    N,