FPGA합성플로우 B·C단계 (2026-06-21)
개요
한선씨 FPGA 합성 파이프라인에 UART TX 회로(B)와 다보드 브링업 회귀(C) 추가.
무엇을 했는지
B — UART TX 비트스트림
pcf/uart_hello.pcf 신설: clk=21(12MHz), tx=8(FTDI D0)
송신.한선 → uart_hello.v (uart_tx + uart_hello 모듈, DIV=1250 = 9600baud@12MHz)
build/uart_hello_gen.bin 32220 bytes (79 LUT / 1280, 최대 128MHz)
C — 다보드 회귀
- HX8K (hx8k/ct256): ct256 핀 알파벳-숫자 형식 →
--pcf-allow-unconstrained. 브링업_hx8k.bin 135100 bytes (29 LUT)
- UPduino (up5k/sg48):
브링업_upduino.bin 104090 bytes (27 LUT)
합성.sh regress 확장: 8종 → 13종 (uart_hello_gen + 브링업 4보드)
synth_bits() 함수에 dev/pkg 파라미터 추가 (기본값 = 전역 DEVICE/PACKAGE 유지)
관련 파일
rtl/fpga/합성.sh — regress 확장
rtl/fpga/pcf/uart_hello.pcf — 신설
rtl/fpga/verilog/uart_hello.v — UART TX + 헬로 래퍼
rtl/fpga/build/uart_hello_gen.bin, 브링업_hx8k.bin, 브링업_upduino.bin
함정
- HX8K ct256 패키지: 핀 이름이 알파벳-숫자(B6, J3 등) — iCEstick 숫자형 PCF 재사용 불가. 실 핀맵은 보드 스케마 확인 후 별도 PCF 작성 필요.
- uart_hello.v 기존 파일명이 regress base명과 달라 cp로 uart_hello_gen.v 생성.
잔여
- 실보드 없어 flash 미검증
- HX8K 실 핀맵 PCF 미완 (pcf-allow-unconstrained 사용 중)
- iCEstick UART TX 핀 8번 스케마 검증 필요 (실보드 시)