4 ms·
Well, neither GPT4 or this Phind model where able to answer my torture test: "Write amaranth code that can be used to control the readout of a frame from a koda
by buildbot 3y ago
Well, neither GPT4 or this Phind model where able to answer my torture test:
"Write amaranth code that can be used to control the readout of a frame from a kodak CCD with 4096 columns and 2048 rows."
Which yes, is missing a lot of detail (you could/I have feed/fed in a datasheet).
But Phind goes off on using pyserial (?!), and GPT4 assumes amaranth is a hypothetical CCD control library and makes a useless class control CCD using the hypothetical library.
Edit - Phind at least acknowledged that amaranth exists, unlike GPT4 with this prompt:
"Write amaranth code that can be used to control the readout of a frame from a kodak CCD using an lattice FPGA with 4096 columns and 2048 rows. Assume the design will be hooked up to a larger litex SoC "
- mensetmanusman 3y agoThat’s torture for humans as well. The key to LLMs is communicating clearly to the information cloud.
- buildbot 3y agoSure, but a good example of how far certain domains have to go still. These datasheets should be in the models training data, at least one CCD datasheet, and verilog & (migen | nmigen | amaranth) certainly are. Controlling a CCD is actually pretty easy, I built (very simple, but working) controllers for several CCD chips in undergrad doing research for the ATLAS detector. You just clock a rows out basically, N columns times. Reset first. I'd expect an senior undergrad EE student to be able to design a simple core in a few class projects.
- idonotknowwhy 3y agoI have no idea what that means (even after googling it) lol. This is how my local WizardLM-70B responded to your prompt. https://pastebin.com/BCAthV8y https://pastebin.com/BCAthV8y