but all inputs must be tied down (by connection to FPGA)
http://www.stanford.edu/class/ee183/verilog/183lib.v
with 10K resistors on inputs, 5.6K 5v to collector
the NAND inputs must normally be logic 1 to avoid affecting the latching action, the inputs are considered to be inverted in this circuit.
it is forbidden to have both inputs at a logic 0 level at the same time. That state will force both outputs to a logic 1, overriding the feedback latching action. In this condition, whichever input goes to logic 1 first will lose control, while the other input (still at logic 0) controls the resulting state of the latch. If both inputs go to logic 1 simultaneously, the result is a "race" condition, and the final state of the latch cannot be determined ahead of time.
http://www.play-hookey.com/digital/rs_nand_latch.html again
Pyastra: python assembler translator (for PIC micros):
http://pyastra.sourceforge.net/
To construct components from HDL description in Xilinx WebPAck ISE:
Design utilities -> create schematic symbol