\r
if sdinput\r
f = fopen("sd.bin","wb"); fwrite(f, r, "double"); fclose(f);\r
- system("../src/ldpc_dec sd.bin data_out.bin --sdinput"); \r
+ system("../src/ldpc_dec sd.bin data_out.bin --sd"); \r
else\r
f = fopen("llr.bin","wb"); fwrite(f, llr, "double"); fclose(f);\r
system("../src/ldpc_dec llr.bin data_out.bin"); \r
add_executable(cohpsk_ch cohpsk_ch.c)
target_link_libraries(cohpsk_ch ${CMAKE_REQUIRED_LIBRARIES} codec2)
+add_executable(ldpc_enc ldpc_enc.c)
+target_link_libraries(ldpc_enc ${CMAKE_REQUIRED_LIBRARIES})
+
+add_executable(ldpc_dec ldpc_dec.c mpdecode_core.c)
+target_link_libraries(ldpc_dec ${CMAKE_REQUIRED_LIBRARIES})
+
add_executable(drs232 drs232.c)
target_link_libraries(drs232 ${CMAKE_REQUIRED_LIBRARIES})
+
add_executable(drs232_ldpc drs232_ldpc.c mpdecode_core.c)
target_link_libraries(drs232_ldpc ${CMAKE_REQUIRED_LIBRARIES})