Resistive memory-based neural differential equation solver for score-based diffusion model.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
C · 155 lines · 3.3 KB · no license
- #include "common.h"
- void GPIO_group_OUT(_gpio_group *group,u16 outdata)
- {
- u8 t;
- for(t=0;t<16;t++)
- {
- if((outdata&0x8000)>>15)
- {
- switch(t)
- {
- case 0: group->data15=1; break;
- case 1: group->data14=1; break;
- case 2: group->data13=1; break;
- case 3: group->data12=1; break;
- case 4: group->data11=1; break;
- case 5: group->data10=1; break;
- case 6: group->data9=1; break;
- case 7: group->data8=1; break;
- case 8: group->data7=1; break;
- case 9: group->data6=1; break;
- case 10: group->data5=1; break;
- case 11: group->data4=1; break;
- case 12: group->data3=1; break;
- case 13: group->data2=1; break;
- case 14: group->data1=1; break;
- case 15: group->data0=1; break;
- }
- }
- else
- {
- switch(t)
- {
- case 0: group->data15=0; break;
- case 1: group->data14=0; break;
- case 2: group->data13=0; break;
- case 3: group->data12=0; break;
- case 4: group->data11=0; break;
- case 5: group->data10=0; break;
- case 6: group->data9=0; break;
- case 7: group->data8=0; break;
- case 8: group->data7=0; break;
- case 9: group->data6=0; break;
- case 10: group->data5=0; break;
- case 11: group->data4=0; break;
- case 12: group->data3=0; break;
- case 13: group->data2=0; break;
- case 14: group->data1=0; break;
- case 15: group->data0=0; break;
- }
- }
- outdata<<=1;
- }
- }
- void GPIO_bits_OUT(GPIO_TypeDef* GPIOx, u8 start_bit, u8 bit_size,u16 outdata)
- {
- u8 i=0;
- u16 bu1=0;u16 middata=1;
- if( bit_size>(16-start_bit) )
- bit_size=16-start_bit;
- i=start_bit;
- if(i>0)
- {
- while(i--)
- { bu1+=middata; middata*=2;}
- }
- assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
- GPIOx->ODR&=( ( (0xffff<<bit_size) <<start_bit ) |bu1 );
- GPIOx->ODR|=(outdata<<start_bit);
- }
- __asm void WFI_SET(void)
- {
- WFI;
- }
- __asm void INTX_DISABLE(void)
- {
- CPSID I
- BX LR
- }
- __asm void INTX_ENABLE(void)
- {
- CPSIE I
- BX LR
- }
- __asm void MSR_MSP(u32 addr)
- {
- MSR MSP, r0 //set Main Stack value
- BX r14
- }
- static u8 fac_us=0;
- static u16 fac_ms=0;
- void delay_init()
- {
- SysTick_CLKSourceConfig(SysTick_CLKSource_HCLK_Div8);
- fac_us=SYSCLK/8;
- fac_ms=(u16)fac_us*1000;
- }
- void delay_us(u32 nus)
- {
- u32 midtime;
- SysTick->LOAD=nus*fac_us;
- SysTick->VAL=0x00;
- SysTick->CTRL|=SysTick_CTRL_ENABLE_Msk ;
- do
- {
- midtime=SysTick->CTRL;
- }
- while((midtime&0x01)&&!(midtime&(1<<16)));
- SysTick->CTRL&=~SysTick_CTRL_ENABLE_Msk;
- SysTick->VAL =0X00;
- }
- void delay_xms(u16 nms)
- {
- u32 midtime;
- SysTick->LOAD=(u32)nms*fac_ms;
- SysTick->VAL =0x00;
- SysTick->CTRL|=SysTick_CTRL_ENABLE_Msk ;
- do
- {
- midtime=SysTick->CTRL;
- }
- while((midtime&0x01)&&!(midtime&(1<<16)));
- SysTick->CTRL&=~SysTick_CTRL_ENABLE_Msk;
- SysTick->VAL =0X00;
- }
- void delay_ms(u16 nms)
- {
- u8 repeat=nms/540;
- u16 remain=nms%540;
- while(repeat)
- {
- delay_xms(540);
- repeat--;
- }
- if(remain)delay_xms(remain);
- }
common.c at commit 09d7c4c, no license · at the source
Overview
and 6 other authors
Dashan Shang6,7, Zhongrui Wang2, Han Wang1,3, Qi Liu8, Kwang-Ting Cheng9, Ming Liu6,8- Department of Electrical and Computer Engineering, The University of Hong Kong,Hong Kong, China
- School of Microelectronics, Southern University of Science and Technology,Shenzhen, China
- Center for Advanced Semiconductors and Integrated Circuits, The University of Hong Kong,Hong Kong, China
- School of Integrated Circuits, Hubei Key Laboratory for Advanced Memories, Huazhong University of Science and Technology,Wuhan 430074, China
- New Cornerstone Science Laboratory, Guangdong Provincial Key Laboratory of In-Memory Computing Chips, School of Electronic and Computer Engineering, Shenzhen Graduate School, Peking University,Shenzhen, China
- State Key Lab of Fabrication Technologies for Integrated Circuits and Key Laboratory of Microelectronic Devices and Integrated Technology, Institute of Microelectronics, Chinese Academy of Sciences,Beijing, China
- School of Integrated Circuits, University of Chinese Academy of Science,Beijing, China
- State Key Laboratory of Integrated Chips and Systems, Frontier Institute of Chip and System, Fudan University,Shanghai, China
- Department of Electronic and Computer Engineering, The Hong Kong University of Science and Technology,Hong Kong, China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above.
yangjc97/memristor-sde-diffusion
09d7c4c2d262d0f1a4a8a9848c5d4bd40f201674, 21 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
106 files
- MCU_Project/
HDPM/ , C, 155 linesCommon/ common.c - MCU_Project/
HDPM/ , C/C++, 124 linesCommon/ common.h - MCU_Project/
HDPM/ , C, 117 linesCommon/ usart/ usart.c - MCU_Project/
HDPM/ , C/C++, 15 linesCommon/ usart/ usart.h - MCU_Project/
HDPM/ , C, 79 linesHARDWARE/ ADC/ adc.c - MCU_Project/
HDPM/ , C/C++, 23 linesHARDWARE/ ADC/ adc.h - MCU_Project/
HDPM/ , C, 71 linesHARDWARE/ GPIO/ gpio.c - MCU_Project/
HDPM/ , C/C++, 7 linesHARDWARE/ GPIO/ gpio.h - MCU_Project/
HDPM/ , C, 58 linesHARDWARE/ KEY/ key.c - MCU_Project/
HDPM/ , C/C++, 25 linesHARDWARE/ KEY/ key.h - MCU_Project/
HDPM/ , C, 68 linesHARDWARE/ RNG/ rng.c - MCU_Project/
HDPM/ , C/C++, 33 linesHARDWARE/ RNG/ rng.h - MCU_Project/
HDPM/ , C, 196 linesHARDWARE/ TIMER/ timer.c - MCU_Project/
HDPM/ , C/C++, 11 linesHARDWARE/ TIMER/ timer.h - MCU_Project/
HDPM/ , C, 11 linesHARDWARE/ charge/ charge.c - MCU_Project/
HDPM/ , C/C++, 12 linesHARDWARE/ charge/ charge.h - MCU_Project/
HDPM/ , C, 232 linesHARDWARE/ max5742/ max5742.c - MCU_Project/
HDPM/ , C/C++, 67 linesHARDWARE/ max5742/ max5742.h - MCU_Project/
HDPM/ , C, 403 linesMain/ main.c - MCU_Project/
HDPM/ , C, 168 linesMain/ stm32f4xx_it.c - MCU_Project/
HDPM/ , C/C++, 60 linesMain/ stm32f4xx_it.h - MCU_Project/
HDPM/ , C, 654 linesProject/ RTE/ Device/ STM32F407ZGTx/ system_stm32f4xx.c - MCU_Project/
HDPM/ , C/C++, 14 linesProject/ RTE/ RTE_Components.h - MCU_Project/
HDPM/ , C/C++, 178 linesSTM32F4_FWLIB/ inc/ misc.h - MCU_Project/
HDPM/ , C/C++, 656 linesSTM32F4_FWLIB/ inc/ stm32f4xx_adc.h - MCU_Project/
HDPM/ , C/C++, 644 linesSTM32F4_FWLIB/ inc/ stm32f4xx_can.h - MCU_Project/
HDPM/ , C/C++, 83 linesSTM32F4_FWLIB/ inc/ stm32f4xx_crc.h - MCU_Project/
HDPM/ , C/C++, 384 linesSTM32F4_FWLIB/ inc/ stm32f4xx_cryp.h - MCU_Project/
HDPM/ , C/C++, 304 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dac.h - MCU_Project/
HDPM/ , C/C++, 109 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dbgmcu.h - MCU_Project/
HDPM/ , C/C++, 312 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dcmi.h - MCU_Project/
HDPM/ , C/C++, 609 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dma.h - MCU_Project/
HDPM/ , C/C++, 475 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dma2d.h - MCU_Project/
HDPM/ , C/C++, 183 linesSTM32F4_FWLIB/ inc/ stm32f4xx_exti.h - MCU_Project/
HDPM/ , C/C++, 488 linesSTM32F4_FWLIB/ inc/ stm32f4xx_flash.h - MCU_Project/
HDPM/ , C/C++, 103 linesSTM32F4_FWLIB/ inc/ stm32f4xx_flash_ramfunc. h - MCU_Project/
HDPM/ , C/C++, 1,143 linesSTM32F4_FWLIB/ inc/ stm32f4xx_fmc.h - MCU_Project/
HDPM/ , C/C++, 675 linesSTM32F4_FWLIB/ inc/ stm32f4xx_fsmc.h - MCU_Project/
HDPM/ , C/C++, 502 linesSTM32F4_FWLIB/ inc/ stm32f4xx_gpio.h - MCU_Project/
HDPM/ , C/C++, 257 linesSTM32F4_FWLIB/ inc/ stm32f4xx_hash.h - MCU_Project/
HDPM/ , C/C++, 711 linesSTM32F4_FWLIB/ inc/ stm32f4xx_i2c.h - MCU_Project/
HDPM/ , C/C++, 131 linesSTM32F4_FWLIB/ inc/ stm32f4xx_iwdg.h - MCU_Project/
HDPM/ , C/C++, 531 linesSTM32F4_FWLIB/ inc/ stm32f4xx_ltdc.h - MCU_Project/
HDPM/ , C/C++, 212 linesSTM32F4_FWLIB/ inc/ stm32f4xx_pwr.h - MCU_Project/
HDPM/ , C/C++, 630 linesSTM32F4_FWLIB/ inc/ stm32f4xx_rcc.h - MCU_Project/
HDPM/ , C/C++, 120 linesSTM32F4_FWLIB/ inc/ stm32f4xx_rng.h - MCU_Project/
HDPM/ , C/C++, 881 linesSTM32F4_FWLIB/ inc/ stm32f4xx_rtc.h - MCU_Project/
HDPM/ , C/C++, 611 linesSTM32F4_FWLIB/ inc/ stm32f4xx_sai.h - MCU_Project/
HDPM/ , C/C++, 536 linesSTM32F4_FWLIB/ inc/ stm32f4xx_sdio.h - MCU_Project/
HDPM/ , C/C++, 549 linesSTM32F4_FWLIB/ inc/ stm32f4xx_spi.h - MCU_Project/
HDPM/ , C/C++, 210 linesSTM32F4_FWLIB/ inc/ stm32f4xx_syscfg.h - MCU_Project/
HDPM/ , C/C++, 1,150 linesSTM32F4_FWLIB/ inc/ stm32f4xx_tim.h - MCU_Project/
HDPM/ , C/C++, 431 linesSTM32F4_FWLIB/ inc/ stm32f4xx_usart.h - MCU_Project/
HDPM/ , C/C++, 111 linesSTM32F4_FWLIB/ inc/ stm32f4xx_wwdg.h - MCU_Project/
HDPM/ , C, 249 linesSTM32F4_FWLIB/ src/ misc.c - MCU_Project/
HDPM/ , C, 1,745 linesSTM32F4_FWLIB/ src/ stm32f4xx_adc.c - MCU_Project/
HDPM/ , C, 1,700 linesSTM32F4_FWLIB/ src/ stm32f4xx_can.c - MCU_Project/
HDPM/ , C, 133 linesSTM32F4_FWLIB/ src/ stm32f4xx_crc.c - MCU_Project/
HDPM/ , C, 934 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp.c - MCU_Project/
HDPM/ , C, 1,707 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp_aes.c - MCU_Project/
HDPM/ , C, 308 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp_des.c - MCU_Project/
HDPM/ , C, 325 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp_tdes.c - MCU_Project/
HDPM/ , C, 714 linesSTM32F4_FWLIB/ src/ stm32f4xx_dac.c - MCU_Project/
HDPM/ , C, 180 linesSTM32F4_FWLIB/ src/ stm32f4xx_dbgmcu.c - MCU_Project/
HDPM/ , C, 538 linesSTM32F4_FWLIB/ src/ stm32f4xx_dcmi.c - MCU_Project/
HDPM/ , C, 1,301 linesSTM32F4_FWLIB/ src/ stm32f4xx_dma.c - MCU_Project/
HDPM/ , C, 784 linesSTM32F4_FWLIB/ src/ stm32f4xx_dma2d.c - MCU_Project/
HDPM/ , C, 311 linesSTM32F4_FWLIB/ src/ stm32f4xx_exti.c - MCU_Project/
HDPM/ , C, 1,612 linesSTM32F4_FWLIB/ src/ stm32f4xx_flash.c - MCU_Project/
HDPM/ , C, 158 linesSTM32F4_FWLIB/ src/ stm32f4xx_flash_ramfunc. c - MCU_Project/
HDPM/ , C, 1,367 linesSTM32F4_FWLIB/ src/ stm32f4xx_fmc.c - MCU_Project/
HDPM/ , C, 985 linesSTM32F4_FWLIB/ src/ stm32f4xx_fsmc.c - MCU_Project/
HDPM/ , C, 611 linesSTM32F4_FWLIB/ src/ stm32f4xx_gpio.c - MCU_Project/
HDPM/ , C, 726 linesSTM32F4_FWLIB/ src/ stm32f4xx_hash.c - MCU_Project/
HDPM/ , C, 320 linesSTM32F4_FWLIB/ src/ stm32f4xx_hash_md5.c - MCU_Project/
HDPM/ , C, 323 linesSTM32F4_FWLIB/ src/ stm32f4xx_hash_sha1.c - MCU_Project/
HDPM/ , C, 1,462 linesSTM32F4_FWLIB/ src/ stm32f4xx_i2c.c - MCU_Project/
HDPM/ , C, 266 linesSTM32F4_FWLIB/ src/ stm32f4xx_iwdg.c - MCU_Project/
HDPM/ , C, 1,110 linesSTM32F4_FWLIB/ src/ stm32f4xx_ltdc.c - MCU_Project/
HDPM/ , C, 939 linesSTM32F4_FWLIB/ src/ stm32f4xx_pwr.c - MCU_Project/
HDPM/ , C, 2,307 linesSTM32F4_FWLIB/ src/ stm32f4xx_rcc.c - MCU_Project/
HDPM/ , C, 397 linesSTM32F4_FWLIB/ src/ stm32f4xx_rng.c - MCU_Project/
HDPM/ , C, 2,761 linesSTM32F4_FWLIB/ src/ stm32f4xx_rtc.c - MCU_Project/
HDPM/ , C, 1,079 linesSTM32F4_FWLIB/ src/ stm32f4xx_sai.c - MCU_Project/
HDPM/ , C, 1,011 linesSTM32F4_FWLIB/ src/ stm32f4xx_sdio.c - MCU_Project/
HDPM/ , C, 1,319 linesSTM32F4_FWLIB/ src/ stm32f4xx_spi.c - MCU_Project/
HDPM/ , C, 240 linesSTM32F4_FWLIB/ src/ stm32f4xx_syscfg.c - MCU_Project/
HDPM/ , C, 3,365 linesSTM32F4_FWLIB/ src/ stm32f4xx_tim.c - MCU_Project/
HDPM/ , C, 1,486 linesSTM32F4_FWLIB/ src/ stm32f4xx_usart.c - MCU_Project/
HDPM/ , C, 307 linesSTM32F4_FWLIB/ src/ stm32f4xx_wwdg.c - MCU_Project/
HDPM/ , C/C++, 1,772 linesStartup_config/ core_cm4.h - MCU_Project/
HDPM/ , C/C++, 673 linesStartup_config/ core_cm4_simd.h - MCU_Project/
HDPM/ , C/C++, 636 linesStartup_config/ core_cmFunc.h - MCU_Project/
HDPM/ , C/C++, 688 linesStartup_config/ core_cmInstr.h - MCU_Project/
HDPM/ , C/C++, 2,673 linesStartup_config/ stm32f4xx.h - MCU_Project/
HDPM/ , C/C++, 125 linesStartup_config/ stm32f4xx_conf.h - MCU_Project/
HDPM/ , C, 1,130 linesStartup_config/ system_stm32f4xx.c - MCU_Project/
HDPM/ , C/C++, 105 linesStartup_config/ system_stm32f4xx.h - conditional/
HDPM.ipynb , Jupyter, 114 lines - conditional/
VAE_v1.ipynb , Jupyter, 290 lines - conditional/
models.py , Python, 389 lines - conditional/
my_sde.py , Python, 293 lines - conditional/
my_utils.py , Python, 145 lines - unconditional/
HDPM copy.ipynb , Jupyter, 99 lines - unconditional/
my_sde.py , Python, 260 lines - README.md, Text, 112 lines
Zenodo 19591013
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
106 files
- MCU_Project/
HDPM/ , C, 155 linesCommon/ common.c - MCU_Project/
HDPM/ , C/C++, 124 linesCommon/ common.h - MCU_Project/
HDPM/ , C, 117 linesCommon/ usart/ usart.c - MCU_Project/
HDPM/ , C/C++, 15 linesCommon/ usart/ usart.h - MCU_Project/
HDPM/ , C, 79 linesHARDWARE/ ADC/ adc.c - MCU_Project/
HDPM/ , C/C++, 23 linesHARDWARE/ ADC/ adc.h - MCU_Project/
HDPM/ , C, 71 linesHARDWARE/ GPIO/ gpio.c - MCU_Project/
HDPM/ , C/C++, 7 linesHARDWARE/ GPIO/ gpio.h - MCU_Project/
HDPM/ , C, 58 linesHARDWARE/ KEY/ key.c - MCU_Project/
HDPM/ , C/C++, 25 linesHARDWARE/ KEY/ key.h - MCU_Project/
HDPM/ , C, 68 linesHARDWARE/ RNG/ rng.c - MCU_Project/
HDPM/ , C/C++, 33 linesHARDWARE/ RNG/ rng.h - MCU_Project/
HDPM/ , C, 196 linesHARDWARE/ TIMER/ timer.c - MCU_Project/
HDPM/ , C/C++, 11 linesHARDWARE/ TIMER/ timer.h - MCU_Project/
HDPM/ , C, 11 linesHARDWARE/ charge/ charge.c - MCU_Project/
HDPM/ , C/C++, 12 linesHARDWARE/ charge/ charge.h - MCU_Project/
HDPM/ , C, 232 linesHARDWARE/ max5742/ max5742.c - MCU_Project/
HDPM/ , C/C++, 67 linesHARDWARE/ max5742/ max5742.h - MCU_Project/
HDPM/ , C, 403 linesMain/ main.c - MCU_Project/
HDPM/ , C, 168 linesMain/ stm32f4xx_it.c - MCU_Project/
HDPM/ , C/C++, 60 linesMain/ stm32f4xx_it.h - MCU_Project/
HDPM/ , C, 654 linesProject/ RTE/ Device/ STM32F407ZGTx/ system_stm32f4xx.c - MCU_Project/
HDPM/ , C/C++, 14 linesProject/ RTE/ RTE_Components.h - MCU_Project/
HDPM/ , C/C++, 178 linesSTM32F4_FWLIB/ inc/ misc.h - MCU_Project/
HDPM/ , C/C++, 656 linesSTM32F4_FWLIB/ inc/ stm32f4xx_adc.h - MCU_Project/
HDPM/ , C/C++, 644 linesSTM32F4_FWLIB/ inc/ stm32f4xx_can.h - MCU_Project/
HDPM/ , C/C++, 83 linesSTM32F4_FWLIB/ inc/ stm32f4xx_crc.h - MCU_Project/
HDPM/ , C/C++, 384 linesSTM32F4_FWLIB/ inc/ stm32f4xx_cryp.h - MCU_Project/
HDPM/ , C/C++, 304 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dac.h - MCU_Project/
HDPM/ , C/C++, 109 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dbgmcu.h - MCU_Project/
HDPM/ , C/C++, 312 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dcmi.h - MCU_Project/
HDPM/ , C/C++, 609 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dma.h - MCU_Project/
HDPM/ , C/C++, 475 linesSTM32F4_FWLIB/ inc/ stm32f4xx_dma2d.h - MCU_Project/
HDPM/ , C/C++, 183 linesSTM32F4_FWLIB/ inc/ stm32f4xx_exti.h - MCU_Project/
HDPM/ , C/C++, 488 linesSTM32F4_FWLIB/ inc/ stm32f4xx_flash.h - MCU_Project/
HDPM/ , C/C++, 103 linesSTM32F4_FWLIB/ inc/ stm32f4xx_flash_ramfunc. h - MCU_Project/
HDPM/ , C/C++, 1,143 linesSTM32F4_FWLIB/ inc/ stm32f4xx_fmc.h - MCU_Project/
HDPM/ , C/C++, 675 linesSTM32F4_FWLIB/ inc/ stm32f4xx_fsmc.h - MCU_Project/
HDPM/ , C/C++, 502 linesSTM32F4_FWLIB/ inc/ stm32f4xx_gpio.h - MCU_Project/
HDPM/ , C/C++, 257 linesSTM32F4_FWLIB/ inc/ stm32f4xx_hash.h - MCU_Project/
HDPM/ , C/C++, 711 linesSTM32F4_FWLIB/ inc/ stm32f4xx_i2c.h - MCU_Project/
HDPM/ , C/C++, 131 linesSTM32F4_FWLIB/ inc/ stm32f4xx_iwdg.h - MCU_Project/
HDPM/ , C/C++, 531 linesSTM32F4_FWLIB/ inc/ stm32f4xx_ltdc.h - MCU_Project/
HDPM/ , C/C++, 212 linesSTM32F4_FWLIB/ inc/ stm32f4xx_pwr.h - MCU_Project/
HDPM/ , C/C++, 630 linesSTM32F4_FWLIB/ inc/ stm32f4xx_rcc.h - MCU_Project/
HDPM/ , C/C++, 120 linesSTM32F4_FWLIB/ inc/ stm32f4xx_rng.h - MCU_Project/
HDPM/ , C/C++, 881 linesSTM32F4_FWLIB/ inc/ stm32f4xx_rtc.h - MCU_Project/
HDPM/ , C/C++, 611 linesSTM32F4_FWLIB/ inc/ stm32f4xx_sai.h - MCU_Project/
HDPM/ , C/C++, 536 linesSTM32F4_FWLIB/ inc/ stm32f4xx_sdio.h - MCU_Project/
HDPM/ , C/C++, 549 linesSTM32F4_FWLIB/ inc/ stm32f4xx_spi.h - MCU_Project/
HDPM/ , C/C++, 210 linesSTM32F4_FWLIB/ inc/ stm32f4xx_syscfg.h - MCU_Project/
HDPM/ , C/C++, 1,150 linesSTM32F4_FWLIB/ inc/ stm32f4xx_tim.h - MCU_Project/
HDPM/ , C/C++, 431 linesSTM32F4_FWLIB/ inc/ stm32f4xx_usart.h - MCU_Project/
HDPM/ , C/C++, 111 linesSTM32F4_FWLIB/ inc/ stm32f4xx_wwdg.h - MCU_Project/
HDPM/ , C, 249 linesSTM32F4_FWLIB/ src/ misc.c - MCU_Project/
HDPM/ , C, 1,745 linesSTM32F4_FWLIB/ src/ stm32f4xx_adc.c - MCU_Project/
HDPM/ , C, 1,700 linesSTM32F4_FWLIB/ src/ stm32f4xx_can.c - MCU_Project/
HDPM/ , C, 133 linesSTM32F4_FWLIB/ src/ stm32f4xx_crc.c - MCU_Project/
HDPM/ , C, 934 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp.c - MCU_Project/
HDPM/ , C, 1,707 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp_aes.c - MCU_Project/
HDPM/ , C, 308 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp_des.c - MCU_Project/
HDPM/ , C, 325 linesSTM32F4_FWLIB/ src/ stm32f4xx_cryp_tdes.c - MCU_Project/
HDPM/ , C, 714 linesSTM32F4_FWLIB/ src/ stm32f4xx_dac.c - MCU_Project/
HDPM/ , C, 180 linesSTM32F4_FWLIB/ src/ stm32f4xx_dbgmcu.c - MCU_Project/
HDPM/ , C, 538 linesSTM32F4_FWLIB/ src/ stm32f4xx_dcmi.c - MCU_Project/
HDPM/ , C, 1,301 linesSTM32F4_FWLIB/ src/ stm32f4xx_dma.c - MCU_Project/
HDPM/ , C, 784 linesSTM32F4_FWLIB/ src/ stm32f4xx_dma2d.c - MCU_Project/
HDPM/ , C, 311 linesSTM32F4_FWLIB/ src/ stm32f4xx_exti.c - MCU_Project/
HDPM/ , C, 1,612 linesSTM32F4_FWLIB/ src/ stm32f4xx_flash.c - MCU_Project/
HDPM/ , C, 158 linesSTM32F4_FWLIB/ src/ stm32f4xx_flash_ramfunc. c - MCU_Project/
HDPM/ , C, 1,367 linesSTM32F4_FWLIB/ src/ stm32f4xx_fmc.c - MCU_Project/
HDPM/ , C, 985 linesSTM32F4_FWLIB/ src/ stm32f4xx_fsmc.c - MCU_Project/
HDPM/ , C, 611 linesSTM32F4_FWLIB/ src/ stm32f4xx_gpio.c - MCU_Project/
HDPM/ , C, 726 linesSTM32F4_FWLIB/ src/ stm32f4xx_hash.c - MCU_Project/
HDPM/ , C, 320 linesSTM32F4_FWLIB/ src/ stm32f4xx_hash_md5.c - MCU_Project/
HDPM/ , C, 323 linesSTM32F4_FWLIB/ src/ stm32f4xx_hash_sha1.c - MCU_Project/
HDPM/ , C, 1,462 linesSTM32F4_FWLIB/ src/ stm32f4xx_i2c.c - MCU_Project/
HDPM/ , C, 266 linesSTM32F4_FWLIB/ src/ stm32f4xx_iwdg.c - MCU_Project/
HDPM/ , C, 1,110 linesSTM32F4_FWLIB/ src/ stm32f4xx_ltdc.c - MCU_Project/
HDPM/ , C, 939 linesSTM32F4_FWLIB/ src/ stm32f4xx_pwr.c - MCU_Project/
HDPM/ , C, 2,307 linesSTM32F4_FWLIB/ src/ stm32f4xx_rcc.c - MCU_Project/
HDPM/ , C, 397 linesSTM32F4_FWLIB/ src/ stm32f4xx_rng.c - MCU_Project/
HDPM/ , C, 2,761 linesSTM32F4_FWLIB/ src/ stm32f4xx_rtc.c - MCU_Project/
HDPM/ , C, 1,079 linesSTM32F4_FWLIB/ src/ stm32f4xx_sai.c - MCU_Project/
HDPM/ , C, 1,011 linesSTM32F4_FWLIB/ src/ stm32f4xx_sdio.c - MCU_Project/
HDPM/ , C, 1,319 linesSTM32F4_FWLIB/ src/ stm32f4xx_spi.c - MCU_Project/
HDPM/ , C, 240 linesSTM32F4_FWLIB/ src/ stm32f4xx_syscfg.c - MCU_Project/
HDPM/ , C, 3,365 linesSTM32F4_FWLIB/ src/ stm32f4xx_tim.c - MCU_Project/
HDPM/ , C, 1,486 linesSTM32F4_FWLIB/ src/ stm32f4xx_usart.c - MCU_Project/
HDPM/ , C, 307 linesSTM32F4_FWLIB/ src/ stm32f4xx_wwdg.c - MCU_Project/
HDPM/ , C/C++, 1,772 linesStartup_config/ core_cm4.h - MCU_Project/
HDPM/ , C/C++, 673 linesStartup_config/ core_cm4_simd.h - MCU_Project/
HDPM/ , C/C++, 636 linesStartup_config/ core_cmFunc.h - MCU_Project/
HDPM/ , C/C++, 688 linesStartup_config/ core_cmInstr.h - MCU_Project/
HDPM/ , C/C++, 2,673 linesStartup_config/ stm32f4xx.h - MCU_Project/
HDPM/ , C/C++, 125 linesStartup_config/ stm32f4xx_conf.h - MCU_Project/
HDPM/ , C, 1,130 linesStartup_config/ system_stm32f4xx.c - MCU_Project/
HDPM/ , C/C++, 105 linesStartup_config/ system_stm32f4xx.h - conditional/
HDPM.ipynb , Jupyter, 114 lines - conditional/
VAE_v1.ipynb , Jupyter, 290 lines - conditional/
models.py , Python, 389 lines - conditional/
my_sde.py , Python, 293 lines - conditional/
my_utils.py , Python, 145 lines - unconditional/
HDPM copy.ipynb , Jupyter, 99 lines - unconditional/
my_sde.py , Python, 260 lines - README.md, Text, 22 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41467-026-72900-z.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 210 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it says that the data are available on request
Read it in the paper: doi.org/10.1038/s41467-026-72900-z.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 26 authors, 2 keywords, 1 funder, 41 references.
Cite
This paper
Yang, J., Chen, H., Chen, J., Wang, S., Zhu, Q., Zhang, X., Zeng, Y., Wang, S., Yang, M., Yu, Y., Chen, X., Wang, B., Cui, B., Li, Y., Lin, N., Xu, M., Li, Y., Xu, X., Qi, X., . . . Liu, M. (2026). Resistive memory-based neural differential equation solver for score-based diffusion model. Nature communications, 17(1), 6354. https://
BibTeX
@article{yang2026resisti
author = {Yang, Jichang and Chen, Hegan and Chen, Jia and Wang, Songqi and Zhu, Qifan and Zhang, Xinyuan and Zeng, Yan and Wang, Shaocong and Yang, Mingrui and Yu, Yifei and Chen, Xi and Wang, Bo and Cui, Binbin and Li, Yi and Lin, Ning and Xu, Meng and Li, Yi and Xu, Xiaoxin and Qi, Xiaojuan and Zhang, Xumeng and Shang, Dashan and Wang, Zhongrui and Wang, Han and Liu, Qi and Cheng, Kwang-Ting and Liu, Ming},
title = {{Resistive memory-based neural differential equation solver for score-based diffusion model}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {6354},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42120416},
pmcid = {PMC13376740}
}
RIS
TY - JOUR
AU - Yang, Jichang
AU - Chen, Hegan
AU - Chen, Jia
AU - Wang, Songqi
AU - Zhu, Qifan
AU - Zhang, Xinyuan
AU - Zeng, Yan
AU - Wang, Shaocong
AU - Yang, Mingrui
AU - Yu, Yifei
AU - Chen, Xi
AU - Wang, Bo
AU - Cui, Binbin
AU - Li, Yi
AU - Lin, Ning
AU - Xu, Meng
AU - Li, Yi
AU - Xu, Xiaoxin
AU - Qi, Xiaojuan
AU - Zhang, Xumeng
AU - Shang, Dashan
AU - Wang, Zhongrui
AU - Wang, Han
AU - Liu, Qi
AU - Cheng, Kwang-Ting
AU - Liu, Ming
TI - Resistive memory-based neural differential equation solver for score-based diffusion model
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 6354
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Resistive memory-based neural differential equation solver for score-based diffusion model",
"container-title": "Nature communications",
"author": [
{
"family": "Yang",
"given": "Jichang"
},
{
"family": "Chen",
"given": "Hegan"
},
{
"family": "Chen",
"given": "Jia"
},
{
"family": "Wang",
"given": "Songqi"
},
{
"family": "Zhu",
"given": "Qifan"
},
{
"family": "Zhang",
"given": "Xinyuan"
},
{
"family": "Zeng",
"given": "Yan"
},
{
"family": "Wang",
"given": "Shaocong"
},
{
"family": "Yang",
"given": "Mingrui"
},
{
"family": "Yu",
"given": "Yifei"
},
{
"family": "Chen",
"given": "Xi"
},
{
"family": "Wang",
"given": "Bo"
},
{
"family": "Cui",
"given": "Binbin"
},
{
"family": "Li",
"given": "Yi"
},
{
"family": "Lin",
"given": "Ning"
},
{
"family": "Xu",
"given": "Meng"
},
{
"family": "Li",
"given": "Yi"
},
{
"family": "Xu",
"given": "Xiaoxin"
},
{
"family": "Qi",
"given": "Xiaojuan"
},
{
"family": "Zhang",
"given": "Xumeng"
},
{
"family": "Shang",
"given": "Dashan"
},
{
"family": "Wang",
"given": "Zhongrui"
},
{
"family": "Wang",
"given": "Han"
},
{
"family": "Liu",
"given": "Qi"
},
{
"family": "Cheng",
"given": "Kwang-Ting"
},
{
"family": "Liu",
"given": "Ming"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "6354",
"DOI": "10.1038/
"PMID": "42120416",
"PMCID": "PMC13376740",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
12
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1126/sciadv.aee6952 [code]
- Wafer-scale SOT-MRAM for analog crossbar array applications.Journal: Science advancesIn common: Pillow, PyTorch, seaborn, 3 other tools, 2 references
- [2] doi:10.1523/eneuro.0023-26.2026 [code]
- Real-Time Segmentation and Classification of Birdsong Syllables for Learning Experiments.Journal: eNeuroIn common: Pillow, PyTorch, seaborn, 4 other tools, cognitive
- [3] doi:10.1038/s41467-026-74358-5 [code]
- Brain-inspired spatial intelligence for embodied agents.Journal: Nature communicationsIn common: Pillow, PyTorch, seaborn, 4 other tools, cognitive
- [4] doi:10.1038/s41467-026-74462-6 [code]
- Neural similarity between choice options predicts group-level context effects.Journal: Nature communicationsIn common: Pillow, PyTorch, seaborn, 4 other tools, cognitive
- [5] doi:10.1126/sciadv.aef6263 [code]
- Deep learning-enabled versatile shape perception for soft robots via single-ended multimode fiber.Journal: Science advancesIn common: Pillow, PyTorch, seaborn, 4 other tools, cognitive
- [6] doi:10.1038/s41593-026-02285-1 [code]
- Fixation duration on natural scenes is explained by memory encoding not processing demand.Journal: Nature neuroscienceIn common: Pillow, PyTorch, seaborn, 4 other tools, cognitive
- [7] doi:10.1038/s41467-026-73153-6 [code]
- Latent neural architecture organising shared aesthetic evaluations of visual artworks.Journal: Nature communicationsIn common: Pillow, PyTorch, seaborn, 4 other tools, cognitive
- [8] doi:10.1038/s41467-026-75783-2 [code]
- Broadband encoding and high-speed probabilistic bit generation with integrated microwave neurons.Journal: Nature communicationsIn common: PyTorch, seaborn, pandas, 3 other tools, 1 reference
- [9] doi:10.7554/elife.110588 [code]
- Opening the black box toward a modular approach to spike sorting.Journal: eLifeIn common: Pillow, PyTorch, seaborn, 4 other tools
- [10] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: Pillow, PyTorch, seaborn, 4 other tools
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 210 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:382d2001127c6b2f…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
